Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 17682 invoked from network); 8 Aug 2005 03:12:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2005 03:12:30 -0000 Received: (qmail 63094 invoked by uid 500); 8 Aug 2005 03:12:30 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 62911 invoked by uid 500); 8 Aug 2005 03:12:29 -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 62898 invoked by uid 99); 8 Aug 2005 03:12:29 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 07 Aug 2005 20:12:29 -0700 Received: (qmail 17660 invoked by uid 65534); 8 Aug 2005 03:12:29 -0000 Message-ID: <20050808031229.17654.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r230739 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Date: Mon, 08 Aug 2005 03:12:28 -0000 To: cvs@httpd.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.3 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: wrowe Date: Sun Aug 7 20:12:24 2005 New Revision: 230739 URL: http://svn.apache.org/viewcvs?rev=230739&view=rev Log: We already accept 80 bytes less than the client body's anticipated size, so we don't need to also prefetch an extra 1024 bytes; this was redundant. Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=230739&r1=230738&r2=230739&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original) +++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Sun Aug 7 20:12:24 2005 @@ -821,7 +821,7 @@ do { status = ap_get_brigade(r->input_filters, temp_brigade, AP_MODE_READBYTES, APR_BLOCK_READ, - MAX_MEM_SPOOL + 1024 - bytes_read); + MAX_MEM_SPOOL - bytes_read); if (status != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_ERR, status, r->server, "proxy: prefetch request body failed to %pI (%s)"