diff --git a/src/mux_fcgi.c b/src/mux_fcgi.c index 7c67c32fc..53d8f6b8c 100644 --- a/src/mux_fcgi.c +++ b/src/mux_fcgi.c @@ -3940,7 +3940,7 @@ struct task *fcgi_deferred_shut(struct task *t, void *ctx, unsigned int state) } end: TRACE_LEAVE(FCGI_EV_STRM_SHUT); - return NULL; + return t; } static void fcgi_shut(struct stconn *sc, unsigned int mode, struct se_abort_info *reason)