Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07797D0E2 for ; Mon, 24 Jun 2013 19:40:45 +0000 (UTC) Received: (qmail 69483 invoked by uid 500); 24 Jun 2013 19:40:44 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 69435 invoked by uid 500); 24 Jun 2013 19:40:44 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 69428 invoked by uid 99); 24 Jun 2013 19:40:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jun 2013 19:40:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jun 2013 19:40:43 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id CDF9C2388900; Mon, 24 Jun 2013 19:40:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1496176 - in /httpd/httpd/trunk: CHANGES modules/ldap/util_ldap.c Date: Mon, 24 Jun 2013 19:40:24 -0000 To: cvs@httpd.apache.org From: covener@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130624194024.CDF9C2388900@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: covener Date: Mon Jun 24 19:40:24 2013 New Revision: 1496176 URL: http://svn.apache.org/r1496176 Log: prevent excessive delays retrying new connections that timed out. Modified: httpd/httpd/trunk/CHANGES httpd/httpd/trunk/modules/ldap/util_ldap.c Modified: httpd/httpd/trunk/CHANGES URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1496176&r1=1496175&r2=1496176&view=diff ============================================================================== --- httpd/httpd/trunk/CHANGES [utf-8] (original) +++ httpd/httpd/trunk/CHANGES [utf-8] Mon Jun 24 19:40:24 2013 @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) mod_ldap: Don't keep retrying if a new LDAP connection times out. + [Eric Covener] + *) mod_deflate: permit compilation of mod_deflate against a zlib that has been configured with -D Z_PREFIX, which redefines the token "deflate". [Eric Covener] Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=1496176&r1=1496175&r2=1496176&view=diff ============================================================================== --- httpd/httpd/trunk/modules/ldap/util_ldap.c (original) +++ httpd/httpd/trunk/modules/ldap/util_ldap.c Mon Jun 24 19:40:24 2013 @@ -602,6 +602,7 @@ static int uldap_connection_open(request "ldap_simple_bind() timed out on %s " "connection, dropped by firewall?", new_connection ? "new" : "reused"); + if (new_connection) break; } else { /* Other errors not retryable */