]> git.kaiwu.me - haproxy.git/commit
MINOR: cfgparse: dump the "http-hardening" keywords with -dKcfg
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Oct 2026 17:08:40 +0000 (18:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2026 21:45:32 +0000 (22:45 +0100)
commit08e28d55b2ee98faaa66937b87868a063308f12f
treeec5637e2cd8dcb28dccc48264d24b63ec8eaa24e
parent8278824b7d8e4ca6977ed93472762b7bd27bba98
MINOR: cfgparse: dump the "http-hardening" keywords with -dKcfg

The keywords of the "http-hardening" section are not registered via the
cfg_kw_list mechanism but through their own table in http.c, so they were
missing from the output of "-dKcfg". Let's have cfg_dump_registered_keywords()
report them by calling dump_http_hardening_kws() once the other sections
were dumped. The function also reports the option numbers for pure options
(those which are not composite).
include/haproxy/http.h
src/cfgparse.c
src/http.c