]> git.kaiwu.me - haproxy.git/commit
CLEANUP: cfgparse-global: move the compression limits to a single parser
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Oct 2026 14:35:35 +0000 (16:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 07:31:07 +0000 (09:31 +0200)
commit9f4c31129de870d7411cad28c66ea33857c76c6a
treeb8feb75352cba385b8ccbd2990ef7eea7aec0a5f
parentf02d6a838b60f651eb2ac49b0c966d045d335fee
CLEANUP: cfgparse-global: move the compression limits to a single parser

"maxcomprate", "maxzlibmem" and "maxcompcpuusage" all limit the resources
which may be dedicated to the compression, so they were moved together to
a new cfg_parse_global_comp_limits() function and registered in cfg_kws
so as to become discoverable via "-dKcfg".
src/cfgparse-global.c