mirror of
https://github.com/nginx/nginx.git
synced 2026-05-26 19:23:06 -04:00
Merge 142f21f43b into d44205284f
This commit is contained in:
commit
7dfec0067f
1 changed files with 4 additions and 0 deletions
|
|
@ -2982,6 +2982,10 @@ ngx_ssl_handle_recv(ngx_connection_t *c, int n)
|
|||
c->ssl->no_wait_shutdown = 1;
|
||||
c->ssl->no_send_shutdown = 1;
|
||||
|
||||
if (err == NGX_ECONNRESET) {
|
||||
c->error = 1;
|
||||
}
|
||||
|
||||
if (sslerr == SSL_ERROR_ZERO_RETURN || ERR_peek_error() == 0) {
|
||||
ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
||||
"peer shutdown SSL cleanly");
|
||||
|
|
|
|||
Loading…
Reference in a new issue