1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-05 05:30:39 +03:00

mod_cache: Apply the API change that allows future mod_cache providers to

invalidate cache entries, which will fix PR15868.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208822 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Graham Leggett
2011-11-30 21:56:11 +00:00
parent 7ecccc1570
commit d0d00b5d01
3 changed files with 10 additions and 2 deletions

View File

@@ -1325,6 +1325,11 @@ static apr_status_t commit_entity(cache_handle_t *h, request_rec *r)
return APR_SUCCESS;
}
static apr_status_t invalidate_entity(cache_handle_t *h, request_rec *r)
{
return APR_ENOTIMPL;
}
static void *create_dir_config(apr_pool_t *p, char *dummy)
{
disk_cache_dir_conf *dconf = apr_pcalloc(p, sizeof(disk_cache_dir_conf));
@@ -1502,7 +1507,8 @@ static const cache_provider cache_disk_provider =
&create_entity,
&open_entity,
&remove_url,
&commit_entity
&commit_entity,
&invalidate_entity
};
static void disk_cache_register_hook(apr_pool_t *p)