Bring the LDAPCacheEntries and LDAPOpCacheEntries usage() in synch with
the manual and the implementation (0 and -1 both disable the cache).
Submitted by: Eric Covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@815948
13f79535-47bb-0310-9956-
ffa450edef68
mod_proxy_ftp: NULL pointer dereference on error paths.
[Stefan Fritsch <sf fritsch.de>, Joe Orton]
+ *) mod_ldap: Bring the LDAPCacheEntries and LDAPOpCacheEntries
+ usage() in synch with the manual and the implementation (0 and -1
+ both disable the cache). [Eric Covener]
+
*) mod_ssl: The error message when SSLCertificateFile is missing should
at least give the name or position of the problematic virtual host
definition. [Stefan Fritsch sf sfritsch.de]
+1: covener, poirier
+1: minfrin (with r814779 for compiler warning fix)
- * mod_ldap: hints in usage for LDAPCacheEntries and LDAPOpCacheEntries
- updated to match manual and code (0 or -1 to disable)
- PR 40948
- Trunk Patch: http://svn.apache.org/viewvc?rev=814441&view=rev
- 2.2.x patch: Trunk works.
- +1: covener, rpluem, minfrin
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
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 "
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,