aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-30 20:25:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-30 20:25:22 +0000
commit020ffea637440e4283e1be11a96ded2674fdf8a0 (patch)
tree104bb79a9ab4beb5631863002894cfa019b2b27f /src/http/ngx_http_request.c
parentd0427afb8bf06149f2dadad118e5f30cbd7f3cff (diff)
downloadnginx-020ffea637440e4283e1be11a96ded2674fdf8a0.tar.gz
nginx-020ffea637440e4283e1be11a96ded2674fdf8a0.zip
high level HTTP buffered flags should be on per-subrequest basis,
this fix a bug in SSI when a big static file is included
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index a7bbcddd5..951db75e4 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1736,7 +1736,7 @@ ngx_http_writer(ngx_http_request_t *r)
ngx_http_close_request(r, 0);
}
- if (r == r->main) {
+ if (r == r->main || r->buffered) {
return;
}