mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user