]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: servers: Don't try to reuse connection if we switched server.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 24 Dec 2018 12:32:13 +0000 (13:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Dec 2018 12:45:43 +0000 (13:45 +0100)
commitbb3dac37a291047e4da17a67bc1d23cbf92df2aa
tree9ff0477e91bc2052fa6e6de0367165df6f429d8a
parent48507ef55874c7d67ea63c71f90b15b205750f3a
BUG/MEDIUM: servers: Don't try to reuse connection if we switched server.

In connect_server(), don't attempt to reuse the old connection if it's
targetting a different server than the one we're supposed to access, or
we will never be able to connect to a server if the first one we tried failed.

This should be backported to 1.9.
src/backend.c