]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream_interface: Don't check if the handshake is done.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 29 Nov 2018 16:00:38 +0000 (17:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 29 Nov 2018 16:39:04 +0000 (17:39 +0100)
commit3e1f68bcf9adfcd30e3316b0822c2626cc2a6a84
treedfac10647a36f4c59d06112815c9e06ebdd51b20
parentd76bd2d40bc26d9cb7300afb2e462c578733dcd1
BUG/MEDIUM: stream_interface: Don't check if the handshake is done.

In si_cs_send(), don't give up and subscribe if the connection is still
waiting for a SSL handshake. We will never be woken up once the handshake is
done if we're using HTTP/2. Instead, directly try to send data. When using
the mux_pt, if the handshake is not done yet, snd_buf() would return 0 and
we will subscribe anyway.
src/stream_interface.c