]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: servers: Flag the stream_interface on handshake error.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 27 Dec 2018 17:59:46 +0000 (18:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2018 15:33:22 +0000 (16:33 +0100)
commit4f41751ad21d89ca1e93e6fd6dca209f0cc66573
treea221b72740fd9816f2e0b1f461949e5a6d860f8d
parent351411facdb38ca0ae32afd6ad62da35ae79d511
BUG/MEDIUM: servers: Flag the stream_interface on handshake error.

When creating a new outgoing connection, if we're using ALPN and waiting
for the handshake completion to choose the mux, and for some reason the
handshake failed, add the SI_FL_ERR flag to the stream_interface, so that
process_streams() knows the connection failed, and can attempt to retry,
instead of just hanging.

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