]> granicus.if.org Git - apache/commitdiff
remove nested retry loop, uldap_connection_open retries.
authorEric Covener <covener@apache.org>
Sun, 4 Aug 2013 01:24:25 +0000 (01:24 +0000)
committerEric Covener <covener@apache.org>
Sun, 4 Aug 2013 01:24:25 +0000 (01:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1510086 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index b275afe166adf27d45f4fecbb145511a22996981..a048e934bfd5ff894fa089e58c2463350953e64f 100644 (file)
@@ -1115,11 +1115,7 @@ start_over:
     }
 
     if (LDAP_SUCCESS != (result = uldap_connection_open(r, ldc))) {
-        if (AP_LDAP_IS_SERVER_DOWN(result)) { 
-            failures++;
-            goto start_over;
-        }
-        /* something other than 'server down' */
+        /* uldap_connection_open() retried already */
         return result;
     }