Parent Directory
|
Revision Log
|
Patch
--- httpd/httpd/trunk/modules/filters/mod_deflate.c 2007/08/06 14:37:42 563154
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c 2007/08/06 19:22:23 563229
@@ -1000,10 +1000,6 @@
return ap_pass_brigade(f->next, bb);
}
- /* these are unlikely to be set anyway, but ... */
- apr_table_unset(r->headers_out, "Content-Length");
- apr_table_unset(r->headers_out, "Content-MD5");
-
f->ctx = ctx = apr_pcalloc(f->r->pool, sizeof(*ctx));
ctx->bb = apr_brigade_create(r->pool, f->c->bucket_alloc);
ctx->buffer = apr_palloc(r->pool, c->bufferSize);
@@ -1036,7 +1032,9 @@
apr_pool_cleanup_register(r->pool, ctx, deflate_ctx_cleanup,
apr_pool_cleanup_null);
+ /* these are unlikely to be set anyway, but ... */
apr_table_unset(r->headers_out, "Content-Length");
+ apr_table_unset(r->headers_out, "Content-MD5");
/* initialize inflate output buffer */
ctx->stream.next_out = ctx->buffer;
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |