diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 763e7bf11..5dc6942b0 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -2758,6 +2758,7 @@ ngx_http_keepalive_handler(ngx_event_t *rev) if (n == NGX_AGAIN) { if (ngx_handle_read_event(rev, 0) != NGX_OK) { ngx_http_close_connection(c); + return; } /*