]> granicus.if.org Git - apache/commitdiff
don't retry if uldap_connection_open() fails, because it has already
authorEric Covener <covener@apache.org>
Sun, 4 Aug 2013 01:00:28 +0000 (01:00 +0000)
committerEric Covener <covener@apache.org>
Sun, 4 Aug 2013 01:00:28 +0000 (01:00 +0000)
retried internally

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1510083 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index da0db6ea14250d7008ae072387da3adf847b6c48..3b4aa29e135039ae9b8563e6fbf67527349b03c2 100644 (file)
@@ -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;
     }