From: Maxim Dounin Date: Tue, 11 Oct 2011 17:58:51 +0000 (+0000) Subject: Fix for connection drops with AIO. X-Git-Tag: release-1.1.6~18 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=b7af402cc40136db0a7b03af6a380eb405cb0910;p=nginx.git Fix for connection drops with AIO. Connections serving content with AIO to fast clients were dropped with "client timed out" messages after send_timeout from response start. --- diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index ac54b1f5a..c1f806ab6 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -2274,7 +2274,7 @@ ngx_http_writer(ngx_http_request_t *r) if (r->buffered || r->postponed || (r == r->main && c->buffered)) { - if (!wev->ready && !wev->delayed) { + if (!wev->delayed) { ngx_add_timer(wev, clcf->send_timeout); }