]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: listeners: split the thread mask between receiver and bind_conf
authorWilly Tarreau <w@1wt.eu>
Tue, 12 Oct 2021 06:47:54 +0000 (08:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 14 Oct 2021 19:27:48 +0000 (21:27 +0200)
commit01cac3f72128590083acc3790bb39ba66264fbe8
treeb917c818fcfa0f5a957128b42b0ee546dc92d294
parent875ee704dd76b12e5db9ad5c9ae5f2a23b4a4a86
MEDIUM: listeners: split the thread mask between receiver and bind_conf

With groups at some point we'll have to have distinct masks/groups in the
receiver and the bind_conf, because a single bind_conf might require to
instantiate multiple receivers (one per group).

Let's split the thread mask and group to have one for the bind_conf and
another one for the receiver while it remains easy to do. This will later
allow to use different storage for the bind_conf if needed (e.g. support
multiple groups).
include/haproxy/listener-t.h
include/haproxy/receiver-t.h
src/cfgparse.c
src/listener.c
src/proto_sockpair.c
src/sock_inet.c
src/sock_unix.c