BUG/MINOR: tcpcheck: Remove unexpected flag on tcpcheck rules for httchck option

When parsing httpchck option, a wrong flag (TCPCHK_SND_HTTP_FROM_OPT) was
set on the rules, while it is in fact a flag for a send rule. Let's remove
it. There is no issue here because there is no corresponding flag for
tcpcheck rules.

This patch must be backported to all stable versions.
This commit is contained in:
Christopher Faulet 2026-03-24 14:55:01 +01:00
parent 8c00df7448
commit 949aa36820

View File

@ -5473,7 +5473,6 @@ int proxy_parse_httpchk_opt(char **args, int cur_arg, struct proxy *curpx, const
free_tcpcheck_vars(&rules->preset_vars);
rules->list = NULL;
rules->flags |= TCPCHK_SND_HTTP_FROM_OPT;
/* Deduce the ruleset name from the proxy info */
chunk_printf(&trash, "*http-check-%s_%s-%d",