MINOR: lb/api: remove the locked argument from take_conn/drop_conn
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Jun 2021 16:29:25 +0000 (18:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Jun 2021 16:43:12 +0000 (18:43 +0200)
commit5941ef0a6ce20dc767a4bb5c83205b8eb0ae56ff
tree06757a9ed73aa221831da39d1e9ec8012454c991
parent1b648c857bb9e0fb857e86838bcca0c9ed01e2bd
MINOR: lb/api: remove the locked argument from take_conn/drop_conn

This essentially reverts commit 2b4370078 ("MINOR: lb/api: let callers
of take_conn/drop_conn tell if they have the lock") that was merged
during 2.4 before the various locks could be eliminated at the lower
layers. Passing that information complicates the cleanup of the queuing
code and it's become useless.
include/haproxy/backend-t.h
src/backend.c
src/lb_fas.c
src/lb_fwlc.c
src/queue.c
src/stream.c