]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: check: fix QUIC check test when QUIC disabled
authorWilly Tarreau <w@1wt.eu>
Fri, 14 Nov 2025 16:27:53 +0000 (17:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Nov 2025 16:27:53 +0000 (17:27 +0100)
commit0746aa68b896b8b847cbcc238b377da06ff1ed8a
tree15d999c2489d64e587a9610978e47d2ace493ed1
parent4a6dec71934d4b3bccff52be0ea01e312a5bda72
BUG/MINOR: check: fix QUIC check test when QUIC disabled

Latest commit ef206d441c ("MINOR: check: ensure QUIC checks configuration
coherency") introduced a regression when QUIC is not compiled in. Indeed,
not specifying a check proto sets mux_proto to NULL, which also happens to
be the value of get_mux_proto("QUIC"), so it complains about QUIC. Let's
add a non-null check in addition to this.

No backport is needed.
src/check.c