]> git.kaiwu.me - haproxy.git/commit
MINOR: checks: Store the protocol to be used in struct check
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 19 Mar 2026 13:28:42 +0000 (14:28 +0100)
committerOlivier Houchard <cognet@ci0.org>
Thu, 26 Mar 2026 14:09:13 +0000 (15:09 +0100)
commitcca92454161b704abcfad9abb217164fca828007
treebf8ff53c1699a03f9d1e8ba7c7cf79b408324d14
parent07edaed1918a6433126b4d4d61b7f7b0e9324b30
MINOR: checks: Store the protocol to be used in struct check

When parsing the check address, store the associated proto too.
That way we can use the notation like quic4@address, and the right
protocol will be used. It is possible for checks to use a different
protocol than the server, ie we can have a QUIC server but want to run
TCP checks, so we can't just reuse whatever the server uses.
WIP: store the protocol in checks
include/haproxy/check-t.h
src/check.c
src/server.c
src/tcpcheck.c