MEDIUM: queue: simplify again the process_srv_queue() API (v2)
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Jun 2021 16:47:51 +0000 (18:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jun 2021 08:52:31 +0000 (10:52 +0200)
commit9ab78293bfc76a35e0d8ad02c4b777b6ede666f9
treeb889a619308ef089c93fc693a951010f8088f5e9
parent16fbdda3c33703702462a46805a88673e7f6ca51
MEDIUM: queue: simplify again the process_srv_queue() API (v2)

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