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.
diff --git a/src/queue.c b/src/queue.c
index be11227..c45db0d 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -367,7 +367,7 @@
_HA_ATOMIC_ADD(&p->served, done);
if (done && p->lbprm.server_take_conn)
- p->lbprm.server_take_conn(s, server_locked);
+ p->lbprm.server_take_conn(s);
}
/* Adds the stream <strm> to the pending connection queue of server <strm>->srv