]> git.kaiwu.me - haproxy.git/commit
CLEANUP: cfgparse-listen: move the monitor keywords to their own parser
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Oct 2026 16:25:52 +0000 (18:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 07:31:07 +0000 (09:31 +0200)
commitfe3d259c95f8196a9fc9656d719cf039317f88a7
tree950e91c27891e130539ebb36c8a475674045128a
parentd87af002b0b725bd2922fdbaf4e81749bf4bb15f
CLEANUP: cfgparse-listen: move the monitor keywords to their own parser

"monitor-uri" and "monitor" both configure the monitoring requests and
require the frontend capability, so they were moved together to a new
proxy_parse_monitor() function registered in cfg_kws, making them
discoverable via "-dKcfg".

The "monitor" keyword needs to release the error message reported by
build_acl_cond().
src/cfgparse-listen.c