From e5284428479ac4606a1c9b690990700275848cad Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 7 Jul 2026 19:21:04 +0200 Subject: [PATCH] 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. --- src/tcpcheck.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.47.3