]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: handle the SSL_ERROR_ZERO_RETURN during the handshake
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 26 Jun 2023 15:42:09 +0000 (17:42 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 26 Jun 2023 16:52:53 +0000 (18:52 +0200)
commite8e5762389c56ba0d794ecc43d8a1b26667c9c56
treefa1856a6b950f96b8cbe899d2825f74bbd1d50d9
parent1231810963fd00e463ca46af1130c46ede312a52
MEDIUM: ssl: handle the SSL_ERROR_ZERO_RETURN during the handshake

During a SSL_do_handshake(), SSL_ERROR_ZERO_RETURN can be returned in case
the remote peer sent a close_notify alert. Previously this would set the
connection error to CO_ER_SSL_HANDSHAKE, this patch sets it to
CO_ER_SSL_ABORT to have a more acurate error.
src/ssl_sock.c