mirror of
https://github.com/nginx/nginx.git
synced 2026-10-23 20:44:41 +00:00
Silently ignoring a stale global SSL error left after disabled renegotiation.
This commit is contained in:
parent
308c7de966
commit
a2ffa56106
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue