]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: check: Ignore small-buffer option when starting an external check
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Jun 2026 16:55:23 +0000 (18:55 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Jun 2026 17:19:02 +0000 (19:19 +0200)
commit4b9c8b24c524368e13e15b8e889f9f35c3679c09
tree046a1742887b4cda4b95bc035b1770f98a23eb08
parent6a7b27a0a4ec72bea959e5950085725332926c7b
BUG/MEDIUM: check: Ignore small-buffer option when starting an external check

When an external check is started for a server, there is no tcpcheck
ruleset. The pointer is NULL. It was an issue leading to a crash if the
small-buffer option was enabled on the healthchecks. However, it is
irrelevant for external checks because it is only usefull to tcp checks.

So, the option must be ignored if there is no tcpcheck ruleset.

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