]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MEDIUM: quic: Make sure we return the tasklet from qcc_io_cb
authorOlivier Houchard <cognet@ci0.org>
Fri, 25 Apr 2025 11:01:58 +0000 (13:01 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 25 Apr 2025 14:14:26 +0000 (16:14 +0200)
In qcc_io_cb, return the tasklet to tell the scheduler the tasklet is
still alive, it is not yet needed, but will be soon.

src/mux_quic.c

index a366d7b3ed9b4226c9463555332128f7c5e58223..89b24a573f881c0706c06de8338dcc3e411282f1 100644 (file)
@@ -3217,7 +3217,7 @@ struct task *qcc_io_cb(struct task *t, void *ctx, unsigned int status)
 
        TRACE_LEAVE(QMUX_EV_QCC_WAKE, qcc->conn);
 
-       return NULL;
+       return t;
 
  release:
        qcc_shutdown(qcc);