]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux_pt: Don't try to send if handshake is not done.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 30 Nov 2018 12:17:48 +0000 (13:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 09:47:17 +0000 (10:47 +0100)
commitb72d98a619442cd52d86bb4786b867f1aed4c8a7
treefe15a745d0562b9d2f37ac8fcccb19715eeba600
parentd7d627c0b96c8f08b726d2dafb4fad6048d51cdd
BUG/MEDIUM: mux_pt: Don't try to send if handshake is not done.

While it is true the SSL code will do the right thing if the SSL handshake
is not done, we have other types of handshake to deal with (proxy protocol,
netscaler, ...). For those we definitively don't want to try to send data
before it's done. All handshakes but SSL will go through the mux_pt, so in
mux_pt_snd_buf, don't try to send while a handshake is pending.
src/mux_pt.c