diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2011-10-11 17:58:51 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2011-10-11 17:58:51 +0000 |
commit | b7af402cc40136db0a7b03af6a380eb405cb0910 (patch) | |
tree | 2a8ae27983eef65ee4b4e4ce694a50d40f6ac310 /src/http/ngx_http_request.c | |
parent | 5cc1fb1d5b30e6539f81413839ff8d153b3e00a5 (diff) | |
download | nginx-b7af402cc40136db0a7b03af6a380eb405cb0910.tar.gz nginx-b7af402cc40136db0a7b03af6a380eb405cb0910.zip |
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.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |