]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: Return -1 on recv/send if we got EAGAIN.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 24 Apr 2019 10:04:36 +0000 (12:04 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 24 Apr 2019 10:06:08 +0000 (12:06 +0200)
commita28454ee2193b7c5b4729c056aa4fad533336eaf
tree2f809f49259547e7dfc0ad9474016a467b57d7ff
parent371723b0c2a2e38ae14e1e6f6a7581ef3e2491cf
BUG/MEDIUM: ssl: Return -1 on recv/send if we got EAGAIN.

In ha_ssl_read()/ha_ssl_write(), if we couldn't send/receive data because
we got EAGAIN, return -1 and not 0, as older SSL versions expect that.
This should fix the problems with OpenSSL < 1.1.0.
src/ssl_sock.c