comparison src/http/ngx_http_copy_filter_module.c @ 62:0790a8599248 NGINX_0_1_31

nginx 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; bug appeared in 0.1.30.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 May 2005 00:00:00 +0400
parents b55cbf18157e
children da9a3b14312d
comparison
equal deleted inserted replaced
61:345d4a254bfb 62:0790a8599248
86 } 86 }
87 87
88 ngx_http_set_ctx(r, ctx, ngx_http_copy_filter_module); 88 ngx_http_set_ctx(r, ctx, ngx_http_copy_filter_module);
89 89
90 ctx->sendfile = r->connection->sendfile; 90 ctx->sendfile = r->connection->sendfile;
91 ctx->need_in_memory = r->filter_need_in_memory; 91 ctx->need_in_memory = r->main_filter_need_in_memory
92 || r->filter_need_in_memory;
92 ctx->need_in_temp = r->filter_need_temporary; 93 ctx->need_in_temp = r->filter_need_temporary;
93 94
94 ctx->pool = r->pool; 95 ctx->pool = r->pool;
95 ctx->bufs = conf->bufs; 96 ctx->bufs = conf->bufs;
96 ctx->tag = (ngx_buf_tag_t) &ngx_http_copy_filter_module; 97 ctx->tag = (ngx_buf_tag_t) &ngx_http_copy_filter_module;