]> granicus.if.org Git - apache/commit
Introduce new config option LDAPTimeout to set the timeout for operations
authorStefan Fritsch <sf@apache.org>
Mon, 11 Jan 2010 23:08:31 +0000 (23:08 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 11 Jan 2010 23:08:31 +0000 (23:08 +0000)
commite87803f0427060aa3643873ae1205d7bf70b4f10
treeb66db5fc717ad56416698cca4587fcc6557d0d54
parent2173f71a93dbd3353470acb6d207654f17d06cfa
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
CHANGES
include/ap_mmn.h
include/util_ldap.h
modules/ldap/util_ldap.c