Mercurial > hg > nginx-quic
comparison src/event/ngx_event_openssl.c @ 7560:2432a687e789
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 16 Aug 2019 18:16:21 +0300 |
parents | b99cbafd51da |
children | 70749256af79 |
comparison
equal
deleted
inserted
replaced
7559:26281dcecfbc | 7560:2432a687e789 |
---|---|
2812 level = NGX_LOG_CRIT; | 2812 level = NGX_LOG_CRIT; |
2813 | 2813 |
2814 if (sslerr == SSL_ERROR_SYSCALL) { | 2814 if (sslerr == SSL_ERROR_SYSCALL) { |
2815 | 2815 |
2816 if (err == NGX_ECONNRESET | 2816 if (err == NGX_ECONNRESET |
2817 #if (NGX_WIN32) | |
2818 || err == NGX_ECONNABORTED | |
2819 #endif | |
2817 || err == NGX_EPIPE | 2820 || err == NGX_EPIPE |
2818 || err == NGX_ENOTCONN | 2821 || err == NGX_ENOTCONN |
2819 || err == NGX_ETIMEDOUT | 2822 || err == NGX_ETIMEDOUT |
2820 || err == NGX_ECONNREFUSED | 2823 || err == NGX_ECONNREFUSED |
2821 || err == NGX_ENETDOWN | 2824 || err == NGX_ENETDOWN |