MEDIUM: queue: simplify again the process_srv_queue() API
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Jun 2021 16:47:51 +0000 (18:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Jun 2021 16:57:15 +0000 (18:57 +0200)
commitc83e45e9b001591633188a480a896c935d3c9625
tree994f1a270226576a0ef02eb83271c21607d4287e
parentfcb8bf8650ec6b5614d1b88db54f1200ebd96cbd
MEDIUM: queue: simplify again the process_srv_queue() API

This basically undoes the API changes that were performed by commit
0274286dd ("BUG/MAJOR: server: fix deadlock when changing maxconn via
agent-check") to address the deadlock issue: since process_srv_queue()
doesn't use the server lock anymore, it doesn't need the "server_locked"
argument, so let's get rid of it before it gets used again.
include/haproxy/queue.h
include/haproxy/stream.h
src/backend.c
src/cli.c
src/queue.c
src/server.c
src/stream.c