]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic: Let it be known if the tasklet has been released.
authorOlivier Houchard <cognet@ci0.org>
Thu, 1 May 2025 12:39:39 +0000 (14:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 2 May 2025 09:09:28 +0000 (11:09 +0200)
commitfaa18c1ad878ae8de44df876bd1390a2d71d6982
treea4e2ec9283294cb91b229fe68c75f2583ce7d7a0
parentf63ceeded049b0d24862767553855d8a7bd6825c
BUG/MEDIUM: quic: Let it be known if the tasklet has been released.

quic_conn_release() may, or may not, free the tasklet associated with
the connection. So make it return 1 if it was, and 0 otherwise, so that
if it was called from the tasklet handler itself, the said handler can
act accordingly and return NULL if the tasklet was destroyed.
This should be backported if 9240cd4a2771245fae4d0d69ef025104b14bfc23
is backported.
include/haproxy/quic_conn.h
src/quic_conn.c