BUG/MINOR: tcpcheck: Don't forget to reset tcp-check flags on new kind of check
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 25 Nov 2020 15:43:12 +0000 (16:43 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Nov 2020 09:08:18 +0000 (10:08 +0100)
commit1faf18ae3976cddfb17afa95ea447205330c821e
tree9b4c9e0c1fc26e3661b169331919eed966b63aae
parent5a7d6ebf2c38ab004fb85a7465470c1be8d1c47e
BUG/MINOR: tcpcheck: Don't forget to reset tcp-check flags on new kind of check

When a new kind of check is found during the parsing of a proxy section (via
an option directive), we must reset tcpcheck flags for this proxy. It is
mandatory to not inherit some flags from a previously declared check (for
instance in the default section).

This patch must be backported as far as 2.2.
src/check.c