MINOR: listener: split dequeue_all_listener() in two
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Dec 2019 13:10:52 +0000 (14:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Dec 2019 13:14:09 +0000 (14:14 +0100)
commit241797a3fce68dd5a9dbd31d702cbf7feab03ba1
tree59e49d12c60b978e4f35a424465084c8354d090a
parent0591bf7deb3215b7b3054e2c6c71b02c6e07a0fc
MINOR: listener: split dequeue_all_listener() in two

We use it half times for the global_listener_queue and half times
for a proxy's queue and this requires the callers to take care of
these. Let's split it in two versions, the current one working only
on the global queue and another one dedicated to proxies for the
per-proxy queues. This cleans up quite a bit of code.
include/proto/listener.h
src/cli.c
src/haproxy.c
src/listener.c
src/proxy.c