Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 17898 invoked from network); 11 Sep 2005 20:07:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Sep 2005 20:07:29 -0000 Received: (qmail 45042 invoked by uid 500); 11 Sep 2005 20:07:22 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 44984 invoked by uid 500); 11 Sep 2005 20:07:22 -0000 Mailing-List: contact dev-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 dev@httpd.apache.org Received: (qmail 44971 invoked by uid 99); 11 Sep 2005 20:07:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2005 13:07:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [69.225.174.131] (HELO x.win.covalent.net) (69.225.174.131) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2005 13:07:32 -0700 Received: from [192.168.0.21] ([24.13.128.132]) by x.win.covalent.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Sun, 11 Sep 2005 13:06:01 -0700 Message-ID: <43248E47.30508@rowe-clan.net> Date: Sun, 11 Sep 2005 15:06:31 -0500 From: "William A. Rowe, Jr." User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: mod_proxy http request body code review request References: <4320C16B.4000304@rowe-clan.net> <432465D0.3000404@rowe-clan.net> In-Reply-To: <432465D0.3000404@rowe-clan.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Sep 2005 20:06:01.0781 (UTC) FILETIME=[3BA0C650:01C5B70C] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N William A. Rowe, Jr. wrote: > Jeff Trawick wrote: > >> On 9/8/05, William A. Rowe, Jr. wrote: >> >>> I've provided the following fork of that codebase, to try to repair the >>> damage from the vetoed 171205 commit, in a piece by piece analysis of >>> what's changed and why. >> >> >> any particular reason we lost the sendunchangedcl setting? >> >> + if (... >> + (r->input_filters == r->proto_input_filters >> + ... >> + || apr_table_get(r->subprocess_env, >> "proxy-sendunchangedcl"))) { >> + rb_method = RB_STREAM_CL; >> + } > > But there's a second justification; because the new patch pre-reads up > to some fixed bytes of input, and handle the vast majority of POST > bodies in memory with a trusted CL, the necessity is somewhat lessened. And I missed the third point; if the *protocol* input filter chain has not been modified (no input request filters injected) then we continue to presume that the CL is unchanged. So really the only code that triggers spool is the situation where we have injected an input filter, and we cannot (will not) chunk the request body, and the body is larger than the read-ahead buffer. So this is most definately the exception, not the rule, and the 'advantages' of some proxy-sendunchangedcl envvar just seem not to justify the probability of misconfiguration and the unhopefull task of diagnosing the actual symptoms. Bill