diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 9af57cce1..d075333a6 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -5989,7 +5989,7 @@ check_error: /* The peer has closed the SSL session for writing by * sending a close_notify alert */ conn_ctrl_drain(conn); - conn->err_code = CO_ER_SSL_ABORT; + conn->err_code = CO_ER_SSL_EMPTY; goto out_error; }