httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39727] - Incorrect ETag on gzip:ed content
Date Tue, 06 Jun 2006 20:49:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39727>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39727





------- Additional Comments From rpluem@apache.org  2006-06-06 20:49 -------
(In reply to comment #1)
> Created an attachment (id=18407)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18407&action=view) [edit]
> patch that'll cause mod_filter to unset the etag - see util_filter.h
> 
> This needs more discussion before committing this or any other patch.

Sorry for my confusion, but this will only work if mod_deflate is used via
mod_filter, right?
It will not work if mod_deflate is used without mod_filter. I guess for this
case it is needed to unset the ETag header inside mod_deflate. So something like
the following:

Index: mod_deflate.c
===================================================================
--- mod_deflate.c       (Revision 411469)
+++ mod_deflate.c       (Arbeitskopie)
@@ -389,6 +389,7 @@
             apr_table_mergen(r->headers_out, "Content-Encoding", "gzip");
         }
         apr_table_unset(r->headers_out, "Content-Length");
+        apr_table_unset(r->headers_out, "ETag");

         /* initialize deflate output buffer */
         ctx->stream.next_out = ctx->buffer;

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message