]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Tell mod_mem_cache that we will no longer be serving this object if it is stale.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Fri, 24 Sep 2004 01:22:47 +0000 (01:22 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Fri, 24 Sep 2004 01:22:47 +0000 (01:22 +0000)
Submitted by: Bill Stoddard
Reviewed by:  Justin Erenkrantz

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

modules/experimental/cache_storage.c

index 80ba8ec59082f064ccb3ddca1c78eaf6c74e5596..329031ec4792356d6dd1f6648f18797804e1743c 100644 (file)
@@ -248,6 +248,7 @@ int cache_select_url(request_rec *r, char *url)
             /* Is our cached response fresh enough? */
             fresh = ap_cache_check_freshness(h, r);
             if (!fresh) {
+                list->provider->remove_entity(h);
                 return DECLINED;
             }