]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: check: ensure checks are compatible with QUIC servers
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 9 Sep 2025 08:46:47 +0000 (10:46 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 9 Sep 2025 14:55:09 +0000 (16:55 +0200)
commitcd3027a7ee3bc8ab386a1cd28291905cf8b22234
tree8f0ff8e271d8c6f75c4b023c8807de365146f0c9
parentc6d33c09fc2c60fe0ffb54464a550e1b7bd69c4c
BUG/MINOR: check: ensure checks are compatible with QUIC servers

Previously, checks were only performed on TCP. However, QUIC is now
supported on backend. Prior to this patch, check activation for QUIC
servers would result in a crash.

To ensure compatibility between QUIC servers and checks, adjust
protocol_lookup() performed during check connect step. Instead of using
a hardcoded PROTO_TYPE_STREAM, the value is now derived from server
settings.

This does not need to be backported.
src/tcpcheck.c