]> granicus.if.org Git - apache/commitdiff
* modules/cache/mod_cache.c: One more try at proper handling of revalidated
authorJustin Erenkrantz <jerenkrantz@apache.org>
Tue, 8 Feb 2005 02:03:47 +0000 (02:03 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Tue, 8 Feb 2005 02:03:47 +0000 (02:03 +0000)
responses.

...All together now, we hate uninitialized variables...

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

CHANGES
modules/cache/mod_cache.c

diff --git a/CHANGES b/CHANGES
index c5a3788148f46f101c9655c931a97a070d3b7fb4..1d6b770ef1f41e660d546108a7a1a92ec06648af 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@ Changes with Apache 2.1.3
 
   [Remove entries to the current 2.0 section below, when backported]
 
+  *) mod_cache: One more try at proper handling of revalidated responses.
+     [Justin Erenkrantz]
+
   *) mod_disk_cache: Properly load cached ETag from on-disk structures.
      [Justin Erenkrantz]
 
index 1d821d3b362f5f946271a53b5ac42a8ef1b99f8d..89325181dcd0e813c98096a0e6d37f3dabb6923c 100644 (file)
@@ -538,6 +538,7 @@ static int cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in)
             /* Oh, hey.  It isn't that stale!  Yay! */
             cache->handle = cache->stale_handle;
             info = &cache->handle->cache_obj->info;
+            rv = OK;
         }
         else {
             /* Oh, well.  Toss it. */