From bugs-return-55162-archive-asf-public=cust-asf.ponee.io@httpd.apache.org Sun Feb 9 21:07:39 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CEA2918065D for ; Sun, 9 Feb 2020 22:07:38 +0100 (CET) Received: (qmail 64902 invoked by uid 500); 9 Feb 2020 21:07:38 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 64832 invoked by uid 99); 9 Feb 2020 21:07:37 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Feb 2020 21:07:37 +0000 Received: from bz-he-de.apache.org (bz-he-de.apache.org [148.251.237.210]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 2FFB4E12F2 for ; Sun, 9 Feb 2020 21:07:37 +0000 (UTC) Received: by bz-he-de.apache.org (ASF Mail Server at bz-he-de.apache.org, from userid 33) id DDA5E6A0071; Sun, 9 Feb 2020 21:07:34 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 39727] Incorrect ETag on gzip:ed content Date: Sun, 09 Feb 2020 21:07:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_deflate X-Bugzilla-Version: 2.2.8 X-Bugzilla-Keywords: RFC X-Bugzilla-Severity: normal X-Bugzilla-Who: e.barg0089@icloud.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D39727 --- Comment #45 from Ebarg --- Comment on attachment 18407 --> https://bz.apache.org/bugzilla/attachment.cgi?id=3D18407 patch that'll cause mod_filter to unset the etag - see util_filter.h >Index: mod_deflate.c >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- mod_deflate.c (revision 411913) >+++ mod_deflate.c (working copy) >@@ -1088,12 +1088,14 @@ > return rv ; > } >=20 >+#define PROTO_FLAGS AP_FILTER_PROTO_CHANGE|AP_FILTER_PROTO_CHANGE_LENGTH > static void register_hooks(apr_pool_t *p) > { >- ap_register_output_filter(deflateFilterName, deflate_out_filter, NULL, >- AP_FTYPE_CONTENT_SET); >- ap_register_output_filter("INFLATE", inflate_out_filter, NULL, >- AP_FTYPE_RESOURCE-1); >+ ap_register_output_filter_protocol(deflateFilterName, deflate_out_fil= ter, >+ NULL, AP_FTYPE_CONTENT_SET, >+ PROTO_FLAGS); >+ ap_register_output_filter_protocol("INFLATE", inflate_out_filter, NUL= L, >+ AP_FTYPE_RESOURCE-1, PROTO_FLAGS); > ap_register_input_filter(deflateFilterName, deflate_in_filter, NULL, > AP_FTYPE_CONTENT_SET); > } --=20 You are receiving this mail because: You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org