diff src/http/ngx_http_request.c @ 829:362d156f0278

high level HTTP buffered flags should be on per-subrequest basis, this fix a bug in SSI when a big static file is included
author Igor Sysoev <igor@sysoev.ru>
date Mon, 30 Oct 2006 20:25:22 +0000
parents 4ab852b691f5
children 7521e5f5d555
line wrap: on
line diff
--- 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;
         }