]> git.kaiwu.me - haproxy.git/commit
CLEANUP: cfgparse-global: move "cpu-map" to its own parser
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Oct 2026 15:18:43 +0000 (17:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 07:31:07 +0000 (09:31 +0200)
commit7dadd0102fb6f7d211dd6488c7390fb833ac4e60
tree19aaafd111cdc6b2be50e73815e0746dcc7a9072
parent5b9250baf63950841b85919e3cd3a6071874b7e9
CLEANUP: cfgparse-global: move "cpu-map" to its own parser

The keyword is now registered in cfg_kws and parsed by
cfg_parse_global_cpu_map(), making it discoverable via "-dKcfg". The
code is mostly unchanged, except that the errmsg returned but the
called function now has to be freed here (it was done in the
cfgparse_global loop before)
src/cfgparse-global.c