commit | 8de70bcb54200ba217447941eeeb4f14ed2d803e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 25 15:34:39 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Oct 25 15:52:41 2017 +0200 |
tree | 1693373e4ad4bd39481a0f3a82edd2ceb1bcfb83 | |
parent | 3b9c850271589751540b7eb0d9ae8816c38875c0 [diff] |
MINOR: ssl: don't abort after sending 16kB SSL records are 16kB max. When trying to send larger data chunks at once, SSL_read() only processes 16kB and ssl_sock_from_buf() believes it means the system buffers are full, which is not the case, contrary to raw_sock. This is particularly noticeable with HTTP/2 when using a 64kB buffer with multiple streams, as the mux buffer can start to fill up pretty quickly in this situation, slowing down the data delivery.