]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tcpcheck: Override external check if healthcheck section is set
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Jun 2026 08:50:32 +0000 (10:50 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Jun 2026 15:15:31 +0000 (17:15 +0200)
commitb227ad2dc7cdc85017e229388f3a0c42503ff47b
treedcbfd1b219368dfc20679af6715546b66e3fc2f9
parent07deafa10478ca18d39b1033dd938315e6932f13
BUG/MINOR: tcpcheck: Override external check if healthcheck section is set

When an external check was configured at the proxy level, the healthcheck
section set on a server was not considered. The main reason was that the
check type of the server was always inherited for the proxy one.

To fix the issue, when a healthcheck section is set on a server line, the
check type for the server is forced to TCPCHK.

This patch must be backported to 3.4.
src/check.c
src/tcpcheck.c