MEDIUM: listener: move the analysers mask to the bind_conf
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Jan 2023 17:39:42 +0000 (18:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2023 17:00:20 +0000 (18:00 +0100)
commit7866e8e50d13f07c61a36b8d1cd99670f798dfe8
treea7b8c3acea76aa9d7f8cb90f90ae28c597dc0337
parent0aa79953c9779a2da092b3d0f6908726fe7013ec
MEDIUM: listener: move the analysers mask to the bind_conf

When bind_conf were created, some elements such as the analysers mask
ought to have moved there but that wasn't the case. Now that it's
getting clearer that bind_conf provides all binding parameters and
the listener is essentially a listener on an address, it's starting
to get really confusing to keep such parameters in the listener, so
let's move the mask to the bind_conf. We also take this opportunity
for pre-setting the mask to the frontend's upon initalization. Now
several loops have one less argument to take care of.
include/haproxy/listener-t.h
src/cfgparse.c
src/filters.c
src/listener.c
src/log.c
src/proxy.c
src/stream.c