]> 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 07:31:07 +0000 (09:31 +0200)
commit49cbe526294edcd42f178ed4cd481f9857262e8e
treed1b1c43309e4b1d690613deb64467c5702ed90a2
parent5aa4d018a735e11aff13e43de780c10ed69f1e99
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