commit | 3e1f68bcf9adfcd30e3316b0822c2626cc2a6a84 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Nov 29 17:00:38 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 29 17:39:04 2018 +0100 |
tree | dfac10647a36f4c59d06112815c9e06ebdd51b20 | |
parent | d76bd2d40bc26d9cb7300afb2e462c578733dcd1 [diff] |
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.