diff options
author | Eric Covener <covener@apache.org> | 2013-08-04 03:00:28 +0200 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2013-08-04 03:00:28 +0200 |
commit | 9d2e8316636d0520166df5558dc9567cbb33946b (patch) | |
tree | 57b11c425ebca20c99215ad031709f6dbcc71c2a /modules/ldap/util_ldap.c | |
parent | SSLCompression help text: (diff) | |
download | apache2-9d2e8316636d0520166df5558dc9567cbb33946b.tar.xz apache2-9d2e8316636d0520166df5558dc9567cbb33946b.zip |
don't retry if uldap_connection_open() fails, because it has already
retried internally
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1510083 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | modules/ldap/util_ldap.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index da0db6ea14..3b4aa29e13 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -1234,11 +1234,7 @@ start_over: if (LDAP_SUCCESS != (result = uldap_connection_open(r, ldc))) { - failures++; - if (AP_LDAP_IS_SERVER_DOWN(result)) { - goto start_over; - } - /* something other than 'server down' */ + /* uldap_connection_open() retried already */ return res; } |