From: Olivier Houchard Date: Fri, 25 Apr 2025 11:01:15 +0000 (+0200) Subject: MEDIUM: mux_fcgi: Make sure we return the tasklet from fcgi_deferred_shut X-Git-Tag: v3.2-dev13~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f70f9c04b770855549fb79bea5a1c07419fce0b;p=thirdparty%2Fhaproxy.git MEDIUM: mux_fcgi: Make sure we return the tasklet from fcgi_deferred_shut In fcgi_deferred_shut, return the tasklet to tell the scheduler the tasklet is still alive, it is not yet needed, but will be soon. --- 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)