httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r151816 - in httpd/httpd/trunk: CHANGES modules/cache/mod_cache.c
Date Tue, 08 Feb 2005 02:03:49 GMT
Author: jerenkrantz
Date: Mon Feb  7 18:03:47 2005
New Revision: 151816

URL: http://svn.apache.org/viewcvs?view=rev&rev=151816
Log:
* modules/cache/mod_cache.c: One more try at proper handling of revalidated
responses.

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

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/cache/mod_cache.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/CHANGES?view=diff&r1=151815&r2=151816
==============================================================================
--- httpd/httpd/trunk/CHANGES (original)
+++ httpd/httpd/trunk/CHANGES Mon Feb  7 18:03:47 2005
@@ -2,6 +2,9 @@
 
   [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]
 

Modified: httpd/httpd/trunk/modules/cache/mod_cache.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/cache/mod_cache.c?view=diff&r1=151815&r2=151816
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Mon Feb  7 18:03:47 2005
@@ -538,6 +538,7 @@
             /* 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. */



Mime
View raw message