Silently ignoring a stale global SSL error left after disabled renegotiation.
Igor Sysoev
10 years ago
861 | 861 | */ |
862 | 862 | |
863 | 863 | ngx_log_error(NGX_LOG_NOTICE, c->log, 0, "SSL renegotiation disabled"); |
864 | ||
865 | while (ERR_peek_error()) { | |
866 | ngx_ssl_error(NGX_LOG_DEBUG, c->log, 0, | |
867 | "ignoring stale global SSL error"); | |
868 | } | |
869 | ||
870 | ERR_clear_error(); | |
864 | 871 | |
865 | 872 | c->ssl->no_wait_shutdown = 1; |
866 | 873 | c->ssl->no_send_shutdown = 1; |