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 8324E10F91 for ; Thu, 27 Feb 2014 13:39:52 +0000 (UTC) Received: (qmail 63097 invoked by uid 500); 27 Feb 2014 13:39:49 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 63035 invoked by uid 500); 27 Feb 2014 13:39:49 -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 63024 invoked by uid 99); 27 Feb 2014 13:39:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 13:39:48 +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; Thu, 27 Feb 2014 13:39:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C63BA23889E7; Thu, 27 Feb 2014 13:39:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1572561 - in /httpd/httpd/trunk/modules/proxy: mod_proxy_http.c proxy_util.c Date: Thu, 27 Feb 2014 13:39:25 -0000 To: cvs@httpd.apache.org From: ylavic@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140227133925.C63BA23889E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ylavic Date: Thu Feb 27 13:39:25 2014 New Revision: 1572561 URL: http://svn.apache.org/r1572561 Log: Avoid seless functions calls. Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c httpd/httpd/trunk/modules/proxy/proxy_util.c Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=1572561&r1=1572560&r2=1572561&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original) +++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Thu Feb 27 13:39:25 2014 @@ -1744,7 +1744,6 @@ int ap_proxy_http_process_response(apr_p #endif /* sanity check */ if (APR_BRIGADE_EMPTY(bb)) { - apr_brigade_cleanup(bb); break; } Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1572561&r1=1572560&r2=1572561&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/proxy_util.c (original) +++ httpd/httpd/trunk/modules/proxy/proxy_util.c Thu Feb 27 13:39:25 2014 @@ -2284,6 +2284,7 @@ ap_proxy_determine_connection(apr_pool_t conn->pool); } socket_cleanup(conn); + conn->close = 0; } if (will_reuse) { /*