mark connection as not ready, this fixes endless loop introduced in r1368

This commit is contained in:
Igor Sysoev 2007-08-27 15:01:08 +00:00
parent 012f231bbc
commit da69848428

View 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) {