diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2004-06-25 21:50:30 +0200 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2004-06-25 21:50:30 +0200 |
commit | 92f65a8cdfab48d328b020b618ab07c842d77eda (patch) | |
tree | aa787023367fdcef08b45e718861e5ed94816bb5 /modules/experimental/util_ldap_cache_mgr.c | |
parent | Update inflate_out_filter to support gzip compression flags. (diff) | |
download | apache2-92f65a8cdfab48d328b020b618ab07c842d77eda.tar.xz apache2-92f65a8cdfab48d328b020b618ab07c842d77eda.zip |
Make sure that the shared memory pointers are propagated down through the various caches that are created
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104038 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/experimental/util_ldap_cache_mgr.c')
-rw-r--r-- | modules/experimental/util_ldap_cache_mgr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/experimental/util_ldap_cache_mgr.c b/modules/experimental/util_ldap_cache_mgr.c index fe9745fc8f..31b297e552 100644 --- a/modules/experimental/util_ldap_cache_mgr.c +++ b/modules/experimental/util_ldap_cache_mgr.c @@ -284,6 +284,10 @@ util_ald_cache_t *util_ald_create_cache(util_ldap_state_t *st, if (!cache) return NULL; +#if APR_HAS_SHARED_MEMORY + cache->rmm_addr = st->cache_rmm; + cache->shm_addr = st->cache_shm; +#endif cache->maxentries = st->search_cache_size; cache->numentries = 0; cache->size = st->search_cache_size / 3; @@ -542,7 +546,6 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st) if (r->args && strlen(r->args)) { char cachetype[5], lint[2]; unsigned int id, off; - int ret; char date_str[APR_CTIME_LEN+1]; if ((3 == sscanf(r->args, scanfmt, cachetype, &id, &off, lint)) && |