Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BF359FA5 for ; Thu, 16 Aug 2012 05:42:08 +0000 (UTC) Received: (qmail 77486 invoked by uid 500); 16 Aug 2012 05:42:08 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 77018 invoked by uid 500); 16 Aug 2012 05:42:02 -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 76956 invoked by uid 99); 16 Aug 2012 05:41:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2012 05:41:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2012 05:41:57 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 327FC56DC; Thu, 16 Aug 2012 05:41:36 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 53727] New: mod_proxy_ajp + mod_deflate = mixed up response, after accessed by browser that doesn't support gzip Date: Thu, 16 Aug 2012 05:41:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_proxy_ajp X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: sokann@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: priority bug_id assigned_to short_desc bug_severity classification op_sys reporter rep_platform bug_status version component product Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=53727 Priority: P2 Bug ID: 53727 Assignee: bugs@httpd.apache.org Summary: mod_proxy_ajp + mod_deflate = mixed up response, after accessed by browser that doesn't support gzip Severity: critical Classification: Unclassified OS: Linux Reporter: sokann@gmail.com Hardware: PC Status: NEW Version: 2.4.2 Component: mod_proxy_ajp Product: Apache httpd-2 1. Create a simple web app and serve it with ajp 2. In the web app, create a normal page (with .js, .css, and images), then craft a slow page that only returns a response after 1 second 3. Setup a reversed proxy to the web app with mod_proxy_ajp (a plain ProxyPass line) 4. Enable mod_deflate for the usual content types 5. Open Firefox, go to about:config, and set network.http.accept-encoding from "gzip, deflate" to an empty string 6. Restart Firefox, clear cache 7. With Firefox, access the normal page and let it load to completion, then access the slow page and press "Ctrl-W" to close the tab before the response is returned 8. Open Chrome, clear cache 9. With Chrome, access the normal page and see things go haywire, e.g. a request for a .js file will receive a response of image/png The symptom of mixed up response is similar to bug 40310 and bug 47714. In production system, other than broken functionality caused by .js file returned as image, our users were able to see responses intended for others. Once things go haywire, a graceful reload of Apache will get things to work again (leaving browser and proxy caching aside), until the next non-gzip client abandons a page load. -- 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