summaryrefslogtreecommitdiff
path: root/include/util_ldap.h
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2010-01-11 23:08:31 +0000
committerStefan Fritsch <sf@apache.org>2010-01-11 23:08:31 +0000
commite87803f0427060aa3643873ae1205d7bf70b4f10 (patch)
treeb66db5fc717ad56416698cca4587fcc6557d0d54 /include/util_ldap.h
parent2173f71a93dbd3353470acb6d207654f17d06cfa (diff)
downloadhttpd-e87803f0427060aa3643873ae1205d7bf70b4f10.tar.gz
Introduce new config option LDAPTimeout to set the timeout for operations
like bind and search. For operations other than search, the support of the timeout depends on the LDAP SDK supporting LDAP_OPT_TIMEOUT (e.g. OpenLDAP >= 2.4.4). An exception is the ldap_simple_bind() in uldap_connection_open(): Here we put some extra effort into detecting a timeout in a portable way, to catch an idle connection having been dropped by a firewall. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@898102 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_ldap.h')
-rw-r--r--include/util_ldap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/util_ldap.h b/include/util_ldap.h
index a1ebb33a9d..b5c54c91da 100644
--- a/include/util_ldap.h
+++ b/include/util_ldap.h
@@ -159,6 +159,7 @@ typedef struct util_ldap_state_t {
long connectionTimeout;
int verify_svr_cert;
int debug_level; /* SDK debug level */
+ struct timeval *opTimeout;
} util_ldap_state_t;