diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-05-16 17:53:20 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-05-16 17:53:20 +0400 |
commit | d52477ff6da227552cd77ffcdf19941d5005ca13 (patch) | |
tree | b075a90c87e64b29770391ebcd0070c9bd208f5f /src/http/modules/ngx_http_ssi_filter_module.c | |
parent | d5d6b6bc3bfa5198f9ca7412b17feddaa348d1c6 (diff) |
nginx-0.1.31-RELEASE importrelease-0.1.31
*) Bugfix: the response encrypted by SSL may not transferred complete.
*) Bugfix: errors while processing FastCGI response by SSI.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the redirect with the 301 code was transferred without
response body; the bug had appeared in 0.1.30.
Diffstat (limited to 'src/http/modules/ngx_http_ssi_filter_module.c')
-rw-r--r-- | src/http/modules/ngx_http_ssi_filter_module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c index acaeeeda6..2992ff59d 100644 --- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c @@ -321,7 +321,6 @@ ngx_http_ssi_header_filter(ngx_http_request_t *r) ctx->timefmt.data = (u_char *) "%A, %d-%b-%Y %H:%M:%S %Z"; r->filter_need_in_memory = 1; - r->filter_ssi_need_in_memory = 1; if (r->main == NULL) { r->headers_out.content_length_n = -1; @@ -464,10 +463,11 @@ ngx_http_ssi_body_filter(ngx_http_request_t *r, ngx_chain_t *in) ngx_memcpy(b, ctx->buf, sizeof(ngx_buf_t)); - b->last_buf = 0; - b->recycled = 0; b->pos = ctx->copy_start; b->last = ctx->copy_end; + b->shadow = NULL; + b->last_buf = 0; + b->recycled = 0; if (b->in_file) { if (conf->min_file_chunk < (size_t) (b->last - b->pos)) |