From: Christopher Faulet Date: Tue, 7 Jul 2026 17:21:04 +0000 (+0200) Subject: BUG/MEDIUM: tcpcheck: Add proxy used for healthcheck sections in proxies list X-Git-Tag: v3.5-dev2~25 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/$%7BGITURL%7D/static/gitweb.js?a=commitdiff_plain;h=e5284428479ac4606a1c9b690990700275848cad;p=haproxy.git BUG/MEDIUM: tcpcheck: Add proxy used for healthcheck sections in proxies list The proxy used to parse healthcheck sections was not inserted in the proxies list. So its initialization was not properly finalized. Among other things, it was an issue for some arguments, like regular expressions. This proxy is now inserted in the proxies list. This patch should fix the issue #3440. It must be backported to 3.4. --- diff --git a/src/tcpcheck.c b/src/tcpcheck.c index c9142f43a..00b88f54a 100644 --- a/src/tcpcheck.c +++ b/src/tcpcheck.c @@ -5742,6 +5742,8 @@ int cfg_parse_healthchecks(const char *file, int linenum, char **args, int kwm) err_code |= ERR_ALERT | ERR_FATAL; goto out; } + tcpchecks_proxy->next = proxies_list; + proxies_list = tcpchecks_proxy; } tcpchecks_proxy->options2 &= ~PR_O2_CHK_ANY; tcpchecks_proxy->tcpcheck.flags = 0;