mirror of
https://github.com/nginx/nginx.git
synced 2024-11-27 23:49:00 +08:00
SSL: lowered log level for WSAECONNABORTED errors on Windows.
Winsock uses ECONNABORTED instead of ECONNRESET in some cases. For non-SSL connections this is already handled since baad3036086e. Reported at http://mailman.nginx.org/pipermail/nginx-ru/2019-August/062363.html.
This commit is contained in:
parent
e77ec60db1
commit
1f960ed92a
@ -2814,6 +2814,9 @@ ngx_ssl_connection_error(ngx_connection_t *c, int sslerr, ngx_err_t err,
|
||||
if (sslerr == SSL_ERROR_SYSCALL) {
|
||||
|
||||
if (err == NGX_ECONNRESET
|
||||
#if (NGX_WIN32)
|
||||
|| err == NGX_ECONNABORTED
|
||||
#endif
|
||||
|| err == NGX_EPIPE
|
||||
|| err == NGX_ENOTCONN
|
||||
|| err == NGX_ETIMEDOUT
|
||||
|
Loading…
Reference in New Issue
Block a user