]> git.kaiwu.me - haproxy.git/commit
CLEANUP: cfgparse-listen: move the connection limits to thier own parser
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Oct 2026 16:00:44 +0000 (18:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 07:31:07 +0000 (09:31 +0200)
commit57fd31afb11789468dc068c90f116a38d1d3b966
treefa210f8577c03a7c36e35a6e13404cf444a90939
parentbf90b356d00453de9f7ea56a612802a5a24dcc18
CLEANUP: cfgparse-listen: move the connection limits to thier own parser

"maxconn", "backlog", "fullconn" and "max-session-srv-conns" all take a
single integer argument and only differ by the capability they require
and the field they assign, so they were moved together to a new
proxy_parse_conn_limits() function registered in cfg_kws, making them
discoverable via "-dKcfg".
src/cfgparse-listen.c