Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4237 - trunk/src/event

October 31, 2011 10:32AM
Author: is
Date: 2011-10-31 14:30:03 +0000 (Mon, 31 Oct 2011)
New Revision: 4237

Modified:
trunk/src/event/ngx_event_openssl.c
Log:
Silently ignoring a stale global SSL error left after disabled renegotiation.


Modified: trunk/src/event/ngx_event_openssl.c
===================================================================
--- trunk/src/event/ngx_event_openssl.c 2011-10-31 10:38:20 UTC (rev 4236)
+++ trunk/src/event/ngx_event_openssl.c 2011-10-31 14:30:03 UTC (rev 4237)
@@ -863,6 +863,13 @@

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;


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4237 - trunk/src/event

Igor Sysoev 1297 October 31, 2011 10:32AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready