From: Justin Erenkrantz Date: Fri, 24 Sep 2004 01:22:47 +0000 (+0000) Subject: Tell mod_mem_cache that we will no longer be serving this object if it is stale. X-Git-Tag: 2.1.1~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22e1735a7a4d2df2638a2dec5cbe7f0b174eb62e;p=thirdparty%2Fapache%2Fhttpd.git Tell mod_mem_cache that we will no longer be serving this object if it is stale. 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 --- diff --git a/modules/experimental/cache_storage.c b/modules/experimental/cache_storage.c index 80ba8ec5908..329031ec479 100644 --- a/modules/experimental/cache_storage.c +++ b/modules/experimental/cache_storage.c @@ -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; }