mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
BUG/MINOR: ssl: SSL_ERROR_ZERO_RETURN returns CO_ER_SSL_EMPTY
Return a more acurate error than the previous patch, CO_ER_SSL_EMPTY is
the code for "Connection closed during SSL handshake" which is more
precise than CO_ER_SSL_ABORT ("Connection error during SSL handshake").
No backport needed.
This commit is contained in:
parent
e8e5762389
commit
3388b23465
@ -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;
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user