mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
Silently ignoring a stale global SSL error left after disabled renegotiation.
This commit is contained in:
parent
308c7de966
commit
a2ffa56106
@ -863,6 +863,13 @@ ngx_ssl_handle_recv(ngx_connection_t *c, int n)
|
||||
|
||||
ngx_log_error(NGX_LOG_NOTICE, c->log, 0, "SSL renegotiation disabled");
|
||||
|
||||
while (ERR_peek_error()) {
|
||||
ngx_ssl_error(NGX_LOG_DEBUG, c->log, 0,
|
||||
"ignoring stale global SSL error");
|
||||
}
|
||||
|
||||
ERR_clear_error();
|
||||
|
||||
c->ssl->no_wait_shutdown = 1;
|
||||
c->ssl->no_send_shutdown = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user