Mercurial > hg > nginx-vendor-current
diff src/http/modules/ngx_http_ssi_filter_module.c @ 314:d5ec0be9c835 NGINX_0_6_1
nginx 0.6.1
*) Bugfix: in SSI parsing.
*) Bugfix: if remote SSI subrequest was used, then posterior local file
subrequest might transferred to client in wrong order.
*) Bugfix: large SSI inclusions buffered in temporary files were
truncated.
*) Bugfix: the perl $$ variable value in ngx_http_perl_module was equal
to the master process identification number.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sun, 17 Jun 2007 00:00:00 +0400 |
parents | cba14c1e2a4b |
children | d16d691432c9 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c @@ -800,8 +800,14 @@ ngx_http_ssi_body_filter(ngx_http_reques } } - if (cmd->flush && ctx->out) { - rc = ngx_http_ssi_output(r, ctx); + if (cmd->flush) { + + if (ctx->out) { + rc = ngx_http_ssi_output(r, ctx); + + } else { + rc = ngx_http_next_body_filter(r, NULL); + } if (rc == NGX_ERROR) { return NGX_ERROR; @@ -1020,6 +1026,7 @@ ngx_http_ssi_parse(ngx_http_request_t *r ch = *p; } + ctx->state = state; ctx->pos = p; ctx->looked = looked; ctx->copy_end = p;