Mercurial > hg > nginx
changeset 149:86404ba5c517
nginx-0.0.1-2003-10-17-20:53:26 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 17 Oct 2003 16:53:26 +0000 |
parents | 5afee0074707 |
children | ad5f382c9e7d |
files | src/event/ngx_event_proxy.c src/http/ngx_http_request.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/ngx_event_proxy.c Thu Oct 16 20:19:16 2003 +0000 +++ b/src/event/ngx_event_proxy.c Fri Oct 17 16:53:26 2003 +0000 @@ -246,7 +246,9 @@ } else if (!p->cachable && p->in) { out = p->in; - if (p->busy_len + ngx_hunk_size(out->hunk) > p->max_busy_len) { + if (!(p->upstream_eof || p->upstream_error || p->upstream_done) + && (p->busy_len + ngx_hunk_size(out->hunk) > p->max_busy_len)) + { break; }