]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: report when "monitor fail" rules are misplaced
authorWilly Tarreau <w@1wt.eu>
Fri, 1 Dec 2017 17:25:08 +0000 (18:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Dec 2017 17:25:08 +0000 (18:25 +0100)
commit721d8e028606b11d9f57febf3c7a9d16870a3e0a
treeafcff9f04976f9870364e7a680ae5d9e112b4490
parent7e351eefe507a6617e05fd9ea499920ec1186562
MINOR: config: report when "monitor fail" rules are misplaced

"monitor-uri" may rely on "monitor fail" rules, which are processed
very early, immediately after the HTTP request is parsed and before
any http rulesets. It's not reported by the config parser when this
ruleset is misplaces, causing some configurations not to work like
users would expect. Let's just add the warning for a misplaced rule.
doc/configuration.txt
src/cfgparse.c