MINOR: backend: improve perf with tcp proxies skipping idle conns
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 20 Oct 2021 13:04:03 +0000 (15:04 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Oct 2021 15:28:29 +0000 (17:28 +0200)
commit926712ab2d04b2c9a0658e0f9fc390be303baffd
treef97aa7403aa740e0ff2c81d764d11a7dfeb5a8c2
parentaee4fdbd175b66b2263e7676ab3dc4f3f780ccab
MINOR: backend: improve perf with tcp proxies skipping idle conns

Skip the hash connection calcul when reuse must not be used in
connect_server() : this is the case for TCP proxies. This should result
in slightly better performance when using this use-case.
src/backend.c