]> git.kaiwu.me - haproxy.git/commit
CLEANUP: cfgparse-listen: move "redirect" to its own parser
authorWilly Tarreau <w@1wt.eu>
Thu, 8 Oct 2026 13:51:21 +0000 (15:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 07:31:07 +0000 (09:31 +0200)
commit7afb563184ee6becda9c6d273d6c59cfb476b67d
tree3f49579b21d532b30660b5b114ce9861dc2f24b5
parent7fe13de6197ee7cbe339a1c8c34b8fa85ee2c9a6
CLEANUP: cfgparse-listen: move "redirect" to its own parser

The keyword is now registered in cfg_kws and parsed by
proxy_parse_redirect(), making it discoverable via "-dKcfg". It
couldn't be merged with the http-request rules because the rules
are of type redirect_rule while the other ones were act_rule.
src/cfgparse-listen.c