comparison 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
comparison
equal deleted inserted replaced
828:597c83dad983 829:362d156f0278
1734 1734
1735 if (ngx_handle_write_event(wev, clcf->send_lowat) == NGX_ERROR) { 1735 if (ngx_handle_write_event(wev, clcf->send_lowat) == NGX_ERROR) {
1736 ngx_http_close_request(r, 0); 1736 ngx_http_close_request(r, 0);
1737 } 1737 }
1738 1738
1739 if (r == r->main) { 1739 if (r == r->main || r->buffered) {
1740 return; 1740 return;
1741 } 1741 }
1742 1742
1743 rc = NGX_OK; 1743 rc = NGX_OK;
1744 } 1744 }