]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: check: ensure QUIC checks configuration coherency
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Oct 2025 16:29:47 +0000 (17:29 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 14 Nov 2025 12:42:08 +0000 (13:42 +0100)
commitef206d441cd7d6b08c4f5b28e962b14cf7ddda4f
tree896f100fe7becb119d9fd3958710233a6f0c91e7
parentca5a5f37a17ec0d10f79bfc7aa46f56adfe22310
MINOR: check: ensure QUIC checks configuration coherency

QUIC is now supported on the backend side, thus it is possible to use it
with server checks. However, checks configuration can be quite
extensive, differing greatly from the server settings.

This patch ensures that QUIC checks are always performed under a
controlled context. Objectives are to avoid any crashes and ensure that
there is no suprise for users in respect to the configuration.

The first part of this patch ensures that QUIC checks can only be
activated on QUIC servers. Indeed, QUIC requires dedicated
initialization steps prior to its usage.

The other part of this patch disables QUIC usage when one or multiple
specific check connection settings are specified in the configuration,
diverging from the server settings. This is the simplest solution for
now and ensure that there is no hidden behavior to users. This means
that it's currently impossible to perform QUIC checks if other endpoints
that the server itself. However for now there is no real use-case for
this scenario.

Along with these changes, check-proto documentation is updated to
clarify QUIC checks behavior.
doc/configuration.txt
src/check.c
src/tcpcheck.c