Mercurial > hg > nginx-vendor-current
diff src/http/modules/ngx_http_ssi_filter_module.c @ 250:fbf2b2f66c9f NGINX_0_4_10
nginx 0.4.10
*) Feature: the POP3 proxy supports the APOP command.
*) Bugfix: if the select, poll or /dev/poll methods were used, then
while waiting authentication server response the IMAP/POP3 proxy
hogged CPU.
*) Bugfix: a segmentation fault might occur if the $server_addr
variable was used in the "map" directive.
*) Bugfix: the ngx_http_flv_module did not support the byte ranges for
full responses; bug appeared in 0.4.7.
*) Bugfix: nginx could not be built on Debian amd64; bug appeared in
0.4.9.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Oct 2006 00:00:00 +0400 |
parents | acd2ec3541cb |
children | f3ec44f4a53b |
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 @@ -1554,7 +1554,7 @@ ngx_http_ssi_get_variable(ngx_http_reque if (part->next == NULL) { break; } - + part = part->next; var = part->elts; i = 0; @@ -1843,7 +1843,7 @@ ngx_http_ssi_include(ngx_http_request_t ngx_str_t *uri, *file, *wait, *set, *stub, args; ngx_buf_t *b; ngx_uint_t flags, i; - ngx_chain_t *cl, *tl, **ll; + ngx_chain_t *cl, *tl, **ll, *out; ngx_http_request_t *sr; ngx_http_ssi_var_t *var; ngx_http_ssi_ctx_t *mctx; @@ -1947,7 +1947,7 @@ ngx_http_ssi_include(ngx_http_request_t if (bl[i].count++) { - ll = (ngx_chain_t **) &psr->data; + ll = &out; for (tl = bl[i].bufs; tl; tl = tl->next) { @@ -1979,6 +1979,8 @@ ngx_http_ssi_include(ngx_http_request_t ll = &cl->next; } + psr->data = out; + } else { psr->data = bl[i].bufs; }