From 9d2e8316636d0520166df5558dc9567cbb33946b Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sun, 4 Aug 2013 01:00:28 +0000 Subject: [PATCH] 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 --- modules/ldap/util_ldap.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; } -- 2.40.0