]> git.kaiwu.me - nginx.git/commitdiff
mark connection as not ready, this fixes endless loop introduced in r1368
authorIgor Sysoev <igor@sysoev.ru>
Mon, 27 Aug 2007 15:01:08 +0000 (15:01 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 27 Aug 2007 15:01:08 +0000 (15:01 +0000)
src/event/ngx_event_openssl.c

index 5cfc703e865edd11c93ce9a73177eae21ff845d9..de50b13acbce1bbe84003d24cb382ec6b10ace5c 100644 (file)
@@ -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) {