mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 01:12:40 +08:00
mark connection as not ready, this fixes endless loop introduced in r1368
This commit is contained in:
parent
012f231bbc
commit
da69848428
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user