changeset 1421:24778e7450af

mark connection as not ready, this fixes endless loop introduced in r1368
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Aug 2007 15:01:08 +0000
parents 79f033a89dd4
children 65dd057f71c7
files src/event/ngx_event_openssl.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,
 
     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) {