You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2013/08/04 03:00:28 UTC
svn commit: r1510083 - /httpd/httpd/trunk/modules/ldap/util_ldap.c
Author: covener
Date: Sun Aug 4 01:00:28 2013
New Revision: 1510083
URL: http://svn.apache.org/r1510083
Log:
don't retry if uldap_connection_open() fails, because it has already
retried internally
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=1510083&r1=1510082&r2=1510083&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap.c Sun Aug 4 01:00:28 2013
@@ -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;
}