MINOR: backend: search conn in idle tree after safe on always reuse
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 25 Jan 2021 13:43:17 +0000 (14:43 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 12 Feb 2021 11:33:05 +0000 (12:33 +0100)
commitaa890aef3def1ad03b3bc4708bbf041e19a23a49
tree4705baf11f2579fc802f31dcdcbba589993e849f
parent1399d695c0f5abfedd00576a93971512f744068c
MINOR: backend: search conn in idle tree after safe on always reuse

With http-reuse always, if no matching safe connection is found, check
in idle tree for a matching one. This is needed because now idle
connections can be differentiated from each other.

If only the safe tree was checked because not empty, but did not contain
a matching connection, we could miss matching entry in idle tree.
src/backend.c