mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Accept LDAP_OPT_CONNECT_TIMEOUT as an alternative to LDAP_OPT_NETWORK_TIMEOUT.
An alternative on at least some IBM client libraries: http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/topic/com.ibm.IBMDS.doc/progref281.htm#opttimeout git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1157111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -66,6 +66,10 @@
|
||||
#define AP_LDAP_CONNPOOL_DEFAULT -1
|
||||
#define AP_LDAP_CONNPOOL_INFINITE -2
|
||||
|
||||
#if !defined(LDAP_OPT_NETWORK_TIMEOUT) && defined(LDAP_OPT_CONNECT_TIMEOUT)
|
||||
#define LDAP_OPT_NETWORK_TIMEOUT LDAP_OPT_CONNECT_TIMEOUT
|
||||
#endif
|
||||
|
||||
module AP_MODULE_DECLARE_DATA ldap_module;
|
||||
static const char *ldap_cache_mutex_type = "ldap-cache";
|
||||
static apr_status_t uldap_connection_unbind(void *param);
|
||||
|
Reference in New Issue
Block a user