summaryrefslogtreecommitdiff
path: root/modules/experimental/mod_disk_cache.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-01-17 15:52:12 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-01-17 15:52:12 +0000
commit40655f864108cca870e4442f99969c24097b4c9e (patch)
treec2cbeb5c5aa3e84c893f197ced1d958b376bbd89 /modules/experimental/mod_disk_cache.c
parentc560382b19e28ce68601019b183fc9ba9481184e (diff)
downloadhttpd-40655f864108cca870e4442f99969c24097b4c9e.tar.gz
Provide apr_pool_t arg to register_hooks, since anything they do in that
step -must- be done with a pool that will not outlive the cmd pool, from which they may have been dynamically loaded. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87697 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/experimental/mod_disk_cache.c')
-rw-r--r--modules/experimental/mod_disk_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/experimental/mod_disk_cache.c b/modules/experimental/mod_disk_cache.c
index 277c01188d..a32f5b09dd 100644
--- a/modules/experimental/mod_disk_cache.c
+++ b/modules/experimental/mod_disk_cache.c
@@ -153,7 +153,7 @@ static int disk_cache(request_rec *r, ap_bucket_brigade *bb, void **cf)
return OK;
}
-static void disk_cache_register_hook(void)
+static void disk_cache_register_hook(apr_pool_t *p)
{
ap_hook_store_cache(disk_cache, NULL, NULL, AP_HOOK_MIDDLE);
ap_hook_serve_cache(disk_serve, NULL, NULL, AP_HOOK_MIDDLE);