From: Justin Erenkrantz Date: Tue, 8 Feb 2005 02:03:47 +0000 (+0000) Subject: * modules/cache/mod_cache.c: One more try at proper handling of revalidated X-Git-Tag: 2.1.3~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268fba842f831989eee77e7b74d1654b217320d5;p=thirdparty%2Fapache%2Fhttpd.git * modules/cache/mod_cache.c: One more try at proper handling of revalidated 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 --- diff --git a/CHANGES b/CHANGES index c5a3788148f..1d6b770ef1f 100644 --- 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] diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c index 1d821d3b362..89325181dcd 100644 --- a/modules/cache/mod_cache.c +++ b/modules/cache/mod_cache.c @@ -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. */