]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_cache: Retry unconditional request with the full URL (including the
authorYann Ylavic <ylavic@apache.org>
Tue, 29 Apr 2014 23:28:11 +0000 (23:28 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 29 Apr 2014 23:28:11 +0000 (23:28 +0000)
           query-string) when the origin server's 304 response does not
           match the conditions used to revalidate the stale entry.

http://www.mail-archive.com/dev@httpd.apache.org/msg59884.html

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1591143 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/cache/mod_cache.c

diff --git a/CHANGES b/CHANGES
index c803a14598df50c6620e2243bf0257dd7ad74679..9a1b0c0ce482e640116a11f1d014ddc6234649d0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_cache: Retry unconditional request with the full URL (including the
+     query-string) when the origin server's 304 response does not match the
+     conditions used to revalidate the stale entry.  [Yann Ylavic].
+
   *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
      unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
 
index a634b948ed3136d4db16e4a25ee8f0e18e97b125..af8889a8921cac8d6323af90f1820a44dd6f0ea3 100644 (file)
@@ -1200,7 +1200,7 @@ static apr_status_t cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in)
         apr_table_unset(r->headers_in, "If-Range");
         apr_table_unset(r->headers_in, "If-Unmodified-Since");
 
-        ap_internal_redirect(r->uri, r);
+        ap_internal_redirect(r->unparsed_uri, r);
 
         return APR_SUCCESS;
     }