diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2005-05-16 13:53:20 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2005-05-16 13:53:20 +0000 |
| commit | d52477ff6da227552cd77ffcdf19941d5005ca13 (patch) | |
| tree | b075a90c87e64b29770391ebcd0070c9bd208f5f /src/http/modules | |
| parent | d5d6b6bc3bfa5198f9ca7412b17feddaa348d1c6 (diff) | |
| download | nginx-release-0.1.31.tar.gz nginx-release-0.1.31.tar.bz2 | |
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')
| -rw-r--r-- | src/http/modules/ngx_http_gzip_filter_module.c | 2 | ||||
| -rw-r--r-- | src/http/modules/ngx_http_ssi_filter_module.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/http/modules/ngx_http_gzip_filter_module.c b/src/http/modules/ngx_http_gzip_filter_module.c index 1f7c2328c..f7cb92c18 100644 --- a/src/http/modules/ngx_http_gzip_filter_module.c +++ b/src/http/modules/ngx_http_gzip_filter_module.c @@ -367,7 +367,7 @@ ngx_http_gzip_header_filter(ngx_http_request_t *r) r->headers_out.content_length = NULL; } - r->filter_need_in_memory = 1; + r->main_filter_need_in_memory = 1; return ngx_http_next_header_filter(r); } 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)) |
