httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1510086 - /httpd/httpd/trunk/modules/ldap/util_ldap.c
Date Sun, 04 Aug 2013 01:24:26 GMT
Author: covener
Date: Sun Aug  4 01:24:25 2013
New Revision: 1510086

URL: http://svn.apache.org/r1510086
Log:
remove nested retry loop, uldap_connection_open retries.

Modified:
    httpd/httpd/trunk/modules/ldap/util_ldap.c

Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=1510086&r1=1510085&r2=1510086&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap.c Sun Aug  4 01:24:25 2013
@@ -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;
     }
 



Mime
View raw message