From: Igor Sysoev Date: Mon, 27 Aug 2007 15:01:08 +0000 (+0000) Subject: mark connection as not ready, this fixes endless loop introduced in r1368 X-Git-Tag: release-0.6.9~7 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=da69848428c5c5e22bb8e4be0de70b50f618aefa;p=nginx.git mark connection as not ready, this fixes endless loop introduced in r1368 --- diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c index 5cfc703e8..de50b13ac 100644 --- a/src/event/ngx_event_openssl.c +++ b/src/event/ngx_event_openssl.c @@ -703,6 +703,7 @@ ngx_ssl_handle_recv(ngx_connection_t *c, int n) c->ssl->no_wait_shutdown = 1; c->ssl->no_send_shutdown = 1; + c->read->ready = 0; c->read->eof = 1; if (sslerr == SSL_ERROR_ZERO_RETURN || ERR_peek_error() == 0) {