Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 43817 invoked from network); 14 Jul 2008 15:49:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jul 2008 15:49:56 -0000 Received: (qmail 10544 invoked by uid 500); 14 Jul 2008 15:49:56 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 10267 invoked by uid 500); 14 Jul 2008 15:49:55 -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 10254 invoked by uid 99); 14 Jul 2008 15:49:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 08:49:55 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:49:11 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 0045E234C16C; Mon, 14 Jul 2008 08:49:34 -0700 (PDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 45341] Apache reverse-proxy returns 304 on non-conditional GET request X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_cache X-Bugzilla-Keywords: RFC X-Bugzilla-Severity: normal X-Bugzilla-Who: rpluem@apache.org X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20080714154935.0045E234C16C@brutus.apache.org> Date: Mon, 14 Jul 2008 08:49:34 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=45341 --- Comment #8 from Ruediger Pluem 2008-07-14 08:49:33 PST --- (In reply to comment #7) > I know about 13.9, but I don't see where it says that all previous headers must > be discarded. I do see that they must be updated if present, in 10.3.5: "If a Ok I guess I wasn't clear in my explanation. I did not say that previous headers must be discarded. The only reason I can image why the cache did a conditional request on the backend in this situation is because the cached entity passed the expiration date given in the cached response expires header. So the initial check of the cache on the entity reveals that it is not fresh enough any longer to serve directly and the freshness check with the backend delivers a response that makes this object no longer cachable as there is no expiration date for a request with args. > cache uses a received 304 response to update a cache entry, the cache MUST > update the entry to reflect any new field values given in the response." But > there aren't any new field values given. > > Section 13.9.4, in talking about max-age=0 which is specifically where I'm > having the problem, says simply "If the server replies with 304 (Not Modified), > then the cache can return its now validated copy to the client with a 200 (OK) > response." > > There is (always) some ambiguity, but I don't see why mod_cache would choose to > interpret the back-end server's plain 304 as a request to nullify the cached > Expires header to make the resource retroactively uncacheable. And even if that > were the best way to read the situation, 10.3.5 tells you how to recover from a > similar problem: "If a 304 response indicates an entity not currently cached, > then the cache MUST disregard the response and repeat the request without the > conditional." > This seems like a solution, but I guess it might be difficult to implement. So probably expect no quick solution when going down this path. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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