]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: connection: Don't use the provided conn_stream if it was tried.
authorOlivier Houchard <cognet@ci0.org>
Sat, 8 Dec 2018 15:38:34 +0000 (16:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 Dec 2018 17:13:46 +0000 (18:13 +0100)
commiteb2bbba547e9185deac06d8d9bcf63f024aca243
treebdeaffac32b2d0afacc758bd39bb67750d654329
parent72e92273851dfbcdc3c404ded7a36ebf4eefd535
BUG/MEDIUM: connection: Don't use the provided conn_stream if it was tried.

In connect_server(), don't attempt to reuse the conn_stream associated to
the stream_interface, if we already attempted a connection with it.
Using that conn_stream is only there for the cases where a connection and
a conn_stream was created ahead, mostly by http_proxy or by the LUA code.
If we already attempted to connect, that means we fail, and so we should
create a new connection.

No backport needed.
src/backend.c