commit | 4ac77a98cda3d0f9b1d9de7bbbda2c91357f0767 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 19 14:25:15 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Feb 19 15:37:47 2018 +0100 |
tree | ee2a927e8d32e6dcc7e3e14bf3a3ddd1d190d0e9 | |
parent | 280f42b99e8df36912b8982a62800613e48e5549 [diff] |
BUG/MEDIUM: ssl: Shutdown the connection for reading on SSL_ERROR_SYSCALL When SSL_read returns SSL_ERROR_SYSCALL and errno is unset or set to EAGAIN, the connection must be shut down for reading. Else, the connection loops infinitly, consuming all the CPU. The bug was introduced in the commit 7e2e50500 ("BUG/MEDIUM: ssl: Don't always treat SSL_ERROR_SYSCALL as unrecovarable."). This patch must be backported in 1.8 too.