]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: check: do not inspect errno if conn FDLESS
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 9 Oct 2026 07:28:26 +0000 (09:28 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 16 Oct 2026 08:19:23 +0000 (10:19 +0200)
commited2bea8c74b3d9575d02e45ec875d29be58ed6ab
tree39da9620c5ad197d2269c49dc27d99ba9cb5ecde
parentbd1582842f004530b2dc0eebb0d3f594f5fea5cb
BUG/MINOR: check: do not inspect errno if conn FDLESS

On check failure, conn errno is inspected via
retrieve_errno_from_socket(), which relies on the connection FD. When
using a CO_FL_FDLESS connection, this triggers a BUG_ON().

This causes crashes for QUIC backend checks, available since 3.3. To fix
this, simply skip call to retrieve_errno_from_socket() when CO_FL_FDLESS
is set.

This must be backported up to 3.3.
src/check.c