]> granicus.if.org Git - apache/commitdiff
Bring the LDAPCacheEntries and LDAPOpCacheEntries usage() in synch with
authorEric Covener <covener@apache.org>
Sun, 13 Sep 2009 23:54:23 +0000 (23:54 +0000)
committerEric Covener <covener@apache.org>
Sun, 13 Sep 2009 23:54:23 +0000 (23:54 +0000)
the manual and the implementation (0 and -1 both disable the cache).

PR 40948

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@814441 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index 0d22949f155af86cb3a95db0300431e8b82dbce0..d01945a2e0c95cb4a2df3c4607aad70e13eac58d 100644 (file)
@@ -2660,9 +2660,9 @@ static const command_rec util_ldap_cmds[] = {
     AP_INIT_TAKE1("LDAPCacheEntries", util_ldap_set_cache_entries,
                   NULL, RSRC_CONF,
                   "Set the maximum number of entries that are possible in the "
-                  "LDAP search cache. Use 0 for no limit. "
-                  "-1 disables the cache. (default: 1024)"),
-
+                  "LDAP search cache. Use 0 or -1 to disable the search cache " 
+                  "(default: 1024)"),
+                  
     AP_INIT_TAKE1("LDAPCacheTTL", util_ldap_set_cache_ttl,
                   NULL, RSRC_CONF,
                   "Set the maximum time (in seconds) that an item can be "
@@ -2672,8 +2672,8 @@ static const command_rec util_ldap_cmds[] = {
     AP_INIT_TAKE1("LDAPOpCacheEntries", util_ldap_set_opcache_entries,
                   NULL, RSRC_CONF,
                   "Set the maximum number of entries that are possible "
-                  "in the LDAP compare cache. Use 0 for no limit. "
-                  "Use -1 to disable the cache. (default: 1024)"),
+                  "in the LDAP compare cache. Use 0 or -1 to disable the compare cache " 
+                  "(default: 1024)"),
 
     AP_INIT_TAKE1("LDAPOpCacheTTL", util_ldap_set_opcache_ttl,
                   NULL, RSRC_CONF,