Mercurial > hg > nginx
changeset 4194:7ce8f2cde0af
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 11 Oct 2011 17:58:51 +0000 |
parents | 63aa6ab94630 |
children | 35f4997c08ce |
files | src/http/ngx_http_request.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Tue Oct 11 17:57:41 2011 +0000 +++ b/src/http/ngx_http_request.c Tue Oct 11 17:58:51 2011 +0000 @@ -2274,7 +2274,7 @@ 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); }