mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-04-02 01:21:02 +02:00
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:
parent
8c00df7448
commit
949aa36820
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user