-*- coding: utf-8 -*-
Changes with Apache 2.5.0
+ *) mod_ldap: Retry transient LDAP connection errors when they occur
+ during the authorization stage.
+ [Eric Covener]
+
*) mod_ldap: Don't keep retrying if a new LDAP connection times out.
[Eric Covener]
}
if (LDAP_SUCCESS != (result = uldap_connection_open(r, ldc))) {
- /* connect failed */
+ if (AP_LDAP_IS_SERVER_DOWN(result)) {
+ failures++;
+ goto start_over;
+ }
+ /* something other than 'server down' */
return result;
}
if (LDAP_SUCCESS != (result = uldap_connection_open(r, ldc))) {
- /* connect failed */
+ failures++;
+ if (AP_LDAP_IS_SERVER_DOWN(result)) {
+ goto start_over;
+ }
+ /* something other than 'server down' */
return res;
}