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.
This commit is contained in:
Olivier Houchard 2025-04-25 13:01:15 +02:00
parent 7d190e7df6
commit 8f70f9c04b

View File

@ -3940,7 +3940,7 @@ struct task *fcgi_deferred_shut(struct task *t, void *ctx, unsigned int state)
} }
end: end:
TRACE_LEAVE(FCGI_EV_STRM_SHUT); 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) static void fcgi_shut(struct stconn *sc, unsigned int mode, struct se_abort_info *reason)