]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MEDIUM: mux_fcgi: Make sure we return the tasklet from fcgi_deferred_shut
authorOlivier Houchard <cognet@ci0.org>
Fri, 25 Apr 2025 11:01:15 +0000 (13:01 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 25 Apr 2025 14:14:26 +0000 (16:14 +0200)
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.

src/mux_fcgi.c

index 7c67c32fca98c4b606776d25d796cd57d9b3ff8a..53d8f6b8c02815fe0db13cdaaee670ea40b9f97b 100644 (file)
@@ -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)