Mercurial > hg > nginx
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 Fri Aug 24 15:58:13 2007 +0000 +++ b/src/event/ngx_event_openssl.c Mon Aug 27 15:01:08 2007 +0000 @@ -703,6 +703,7 @@ 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) {