]> granicus.if.org Git - apache/commit
Work around broken cache management in mod_ldap: If LDAPSharedCacheSize is too
authorStefan Fritsch <sf@apache.org>
Tue, 6 Oct 2009 19:39:38 +0000 (19:39 +0000)
committerStefan Fritsch <sf@apache.org>
Tue, 6 Oct 2009 19:39:38 +0000 (19:39 +0000)
commitda0e12aacfd9ba86d5e2d9343e1ba1d5dfb25fd9
tree0cb2e9587ab8e540bab45d90f9d3efe5250c97bb
parenteded0f9d2d8dece33f1e3898c60ae6ea52c9478e
Work around broken cache management in mod_ldap: If LDAPSharedCacheSize is too
small, try to free some memory by purging the cache and log a warning.

Also increase the default LDAPSharedCacheSize to 500000. This is a more
realistic size suitable for the default values of 1024 for LdapCacheEntries and
LdapOpCacheEntries.

PR: 46749

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@822458 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
docs/manual/mod/mod_ldap.xml
modules/ldap/util_ldap.c
modules/ldap/util_ldap_cache_mgr.c