Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6E2ED200C02 for ; Fri, 20 Jan 2017 09:30:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6C942160B48; Fri, 20 Jan 2017 08:30:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA987160B39 for ; Fri, 20 Jan 2017 09:30:02 +0100 (CET) Received: (qmail 3103 invoked by uid 500); 20 Jan 2017 08:30:02 -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 3094 invoked by uid 99); 20 Jan 2017 08:30:02 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2017 08:30:02 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 72CF53A0217 for ; Fri, 20 Jan 2017 08:30:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1779574 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy_hcheck.c Date: Fri, 20 Jan 2017 08:30:00 -0000 To: cvs@httpd.apache.org From: ylavic@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170120083001.72CF53A0217@svn01-us-west.apache.org> archived-at: Fri, 20 Jan 2017 08:30:03 -0000 Author: ylavic Date: Fri Jan 20 08:30:00 2017 New Revision: 1779574 URL: http://svn.apache.org/viewvc?rev=1779574&view=rev Log: mod_proxy_hcheck: Don't validate timed out responses. Modified: httpd/httpd/trunk/CHANGES httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Modified: httpd/httpd/trunk/CHANGES URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1779574&r1=1779573&r2=1779574&view=diff ============================================================================== --- httpd/httpd/trunk/CHANGES [utf-8] (original) +++ httpd/httpd/trunk/CHANGES [utf-8] Fri Jan 20 08:30:00 2017 @@ -1,6 +1,8 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) mod_proxy_hcheck: Don't validate timed out responses. [Yann Ylavic] + *) mod_proxy_hcheck: Ensure thread-safety when concurrent healthchecks are in use (ProxyHCTPsize > 0). PR 60071. [Yann Ylavic, Jim Jagielski] Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c?rev=1779574&r1=1779573&r2=1779574&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c (original) +++ httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Fri Jan 20 08:30:00 2017 @@ -692,7 +692,7 @@ static int hc_read_body(request_rec *r, APR_BLOCK_READ, len); if (rv != APR_SUCCESS) { - if (APR_STATUS_IS_TIMEUP(rv) || APR_STATUS_IS_EOF(rv)) { + if (APR_STATUS_IS_EOF(rv)) { rv = APR_SUCCESS; break; }