diff --git a/src/stream.c b/src/stream.c index 14060b2e9de0..497e1d83f54d 100644 --- a/src/stream.c +++ b/src/stream.c @@ -2296,7 +2296,7 @@ struct task *process_stream(struct task *t, void *context, unsigned int state) if (s->be->options & PR_O_ABRT_CLOSE) { struct connection *conn = sc_conn(scf); - if (conn) + if (conn && conn->mux && conn->mux->ctl) conn->mux->ctl(conn, MUX_SUBS_RECV, NULL); } }