Klaus Demo nginx / a2ffa56
Silently ignoring a stale global SSL error left after disabled renegotiation. Igor Sysoev 10 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
861861 */
862862
863863 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();
864871
865872 c->ssl->no_wait_shutdown = 1;
866873 c->ssl->no_send_shutdown = 1;