]> git.kaiwu.me - haproxy.git/commit
CLEANUP: cfgparse-listen: move "stats" to its own parser
authorWilly Tarreau <w@1wt.eu>
Thu, 8 Oct 2026 15:31:05 +0000 (17:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 08:30:59 +0000 (10:30 +0200)
commiteaff198ccc6895b037fc0a4262cb8c8da3cb4b76
treed1a7e74ba5cae41cb7ebce0e6edd062590720726
parent0fb83378869515c68cdf0a95ec0e7d6340a234db
CLEANUP: cfgparse-listen: move "stats" to its own parser

The keyword is now registered in cfg_kws and parsed by
proxy_parse_stats(), making it discoverable via "-dKcfg". It needs the
default proxy and takes it via the <defpx> argument.

Like for previous http-request rules, the "http-request stats" action
will now return only the first failure and not all of them at once.

Note that <acl_cond> was removed from cfg_parse_listen() to avoid a
build warning since it was the last part using it, we're getting
closer to the end!
src/cfgparse-listen.c