Mercurial > hg > nginx
comparison src/http/modules/ngx_http_ssi_filter_module.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 | b310630d129e |
children | f88651afad40 |
comparison
equal
deleted
inserted
replaced
828:597c83dad983 | 829:362d156f0278 |
---|---|
971 cl->next = ctx->free; | 971 cl->next = ctx->free; |
972 ctx->free = cl; | 972 ctx->free = cl; |
973 } | 973 } |
974 } | 974 } |
975 | 975 |
976 if (ctx->in || ctx->buf) { | |
977 r->buffered |= NGX_HTTP_SSI_BUFFERED; | |
978 | |
979 } else { | |
980 r->buffered &= ~NGX_HTTP_SSI_BUFFERED; | |
981 } | |
982 | |
976 return rc; | 983 return rc; |
977 } | 984 } |
978 | 985 |
979 | 986 |
980 static ngx_int_t | 987 static ngx_int_t |