From: Eric Covener Date: Sun, 4 Aug 2013 01:00:28 +0000 (+0000) Subject: don't retry if uldap_connection_open() fails, because it has already X-Git-Tag: 2.5.0-alpha~5218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d2e8316636d0520166df5558dc9567cbb33946b;p=apache 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 --- 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; }