MINOR: queue: add a pointer to the server and the proxy in the queue
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Jun 2021 14:11:02 +0000 (16:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jun 2021 08:52:31 +0000 (10:52 +0200)
commitcdc83e01922fa9bf4a9442dbaca9a2fd9e881c12
treece757037f9b9923bceaf5da56eed8bb96f2070c3
parentdf3b0cbe31bdb15495a040437496cbdff5d494d4
MINOR: queue: add a pointer to the server and the proxy in the queue

A queue is specific to a server or a proxy, so we don't need to place
this distinction inside all pendconns, it can be in the queue itself.
This commit adds the relevant fields "px" and "sv" into the struct
queue, and initializes them accordingly.
include/haproxy/queue-t.h
include/haproxy/queue.h
src/proxy.c
src/server.c