MINOR: listener: move the maxconn parameter to the bind_conf
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Jan 2023 17:59:37 +0000 (18:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2023 17:00:20 +0000 (18:00 +0100)
commit758c69d951903b1882217fd7b675851b8a4cd43b
treeb1e399c0c93b8b57a0c8c93ae51bc54253cf1bfc
parent1920f897d8ffcdbf39d5438f8cc234782b4d4542
MINOR: listener: move the maxconn parameter to the bind_conf

The maxconn is set per bind line so let's move it there. This might
possibly even slightly reduce inter-thread contention since this one
is read-mostly and it was stored next to nbconn which changes for
each connection setup or teardown.
include/haproxy/listener-t.h
src/listener.c
src/stats.c