]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Merge tcp-check comment rules with the others at config parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Apr 2020 11:11:41 +0000 (13:11 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:37 +0000 (09:39 +0200)
commit6f2a5e4a19f0b8dcb129f1879e3a49f3f07494ce
tree08bc45ff82b3b4dfc203b2edb6907c7abdd64a8a
parentcf80f2f263745768ce5ffe2ac35c1dfd06b7d3a1
MINOR: checks: Merge tcp-check comment rules with the others at config parsing

When a tcp-check healthcheck fails on a specific rule with no dedicated comment,
we look in previous rules if a comment rule is specified. Now, instead of doing
it during tcp-checks execution, we assign the comment to the corresponding rules
during the configuration parsing. So after HAProxy startup, no more comment
rules remains in a tcp-check ruleset.
src/checks.c