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

src/quic_sock.c

index 1da0743f18fb4243b043de7f5bbf91e2d05c6240..7af0bad54c94f8d9e93256eb7396a3b6b1b02ef1 100644 (file)
@@ -1113,7 +1113,7 @@ struct task *quic_accept_run(struct task *t, void *ctx, unsigned int i)
                }
        }
 
-       return NULL;
+       return t;
 }
 
 /* Returns the maximum number of QUIC connections waiting for handshake to