MINOR: queue: split __pendconn_unlink() in per-srv and per-prx
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Oct 2020 09:20:07 +0000 (11:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Oct 2020 15:32:28 +0000 (17:32 +0200)
commit3e3ae2524d57b1424ae2368bef6cf77a5a79b647
tree71bc1817cf6461f95432c6d87f510556b74fc260
parentb7ba1d901174cb1193033f7d967987ef74e89856
MINOR: queue: split __pendconn_unlink() in per-srv and per-prx

The function is called with the lock held and does too many tests for
things that are already known from its callers. Let's split it in two
so that its callers call either the per-server or per-proxy function
depending on where the element is (since they had to determine it
prior to taking the lock).
src/queue.c