]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: flag conn with CO_FL_FDLESS on backend side
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 20 Nov 2025 15:32:15 +0000 (16:32 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 20 Nov 2025 15:44:03 +0000 (16:44 +0100)
commitb2664d44506671f76efd49877aac961c443e6e9d
treed845eebba2fc6e443da46017b354d1aa38f14ea2
parentcd2962ee649f77e2669945584e2ee313467049bb
BUG/MINOR: quic: flag conn with CO_FL_FDLESS on backend side

Connection struct defines an handle which can point to either a FD or a
quic_conn. On the latter case, CO_FL_FDLESS must be set. This is already
the case on frontend side.

This patch fixes QUIC backend support. Before setting connection handle
member to a quic_conn instance, ensure that CO_FL_FDLESS flag is set on
the connection.

Prior to this patch, crash can occur in "show sess all".

No need to backport.
src/xprt_quic.c