MINOR: backend: search conn in idle/safe trees after available
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Jan 2021 18:37:44 +0000 (19:37 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 12 Feb 2021 11:33:05 +0000 (12:33 +0100)
commit1399d695c0f5abfedd00576a93971512f744068c
tree1378c99f05e693a0abeac3f480e38a1a3ad99b51
parentf232cb3e9bcdbbfe3ae65b927ea9333f42ec5b8c
MINOR: backend: search conn in idle/safe trees after available

If no matching connection is found on available, check on idle/safe
trees for a matching one. This is needed because now idle connections
can be differentiated from each other.

If only the available list was checked because not empty, but did not
contain a matching connection, we could miss matching entries in idle or
safe trees.
src/backend.c