Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 62774 invoked from network); 9 Jan 2008 10:16:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2008 10:16:34 -0000 Received: (qmail 12333 invoked by uid 500); 9 Jan 2008 10:16:22 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 11660 invoked by uid 500); 9 Jan 2008 10:16:19 -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 11649 invoked by uid 99); 9 Jan 2008 10:16:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2008 02:16:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.232.246.85] (HELO mo2.vodafone.com) (195.232.246.85) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2008 10:16:06 +0000 Received: from mi1.vodafone.com ([195.232.246.138]) by mo2.vodafone.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id m09AFwOa023483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 9 Jan 2008 11:15:58 +0100 Received: from avoexs01.internal.vodafone.com ([145.230.4.134]) by mi1.vodafone.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id m09AFvjX026349 for ; Wed, 9 Jan 2008 11:15:58 +0100 Received: from VF-MBX11.internal.vodafone.com ([145.230.5.20]) by avoexs01.internal.vodafone.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 9 Jan 2008 11:15:58 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Pre-release test tarballs of httpd 1.3.40, 2.0.62 and 2.2.7 available Date: Wed, 9 Jan 2008 11:15:57 +0100 Message-ID: <99EA83DCDE961346AFA9B5EC33FEC08B05B2E6@VF-MBX11.internal.vodafone.com> In-Reply-To: <20080109002717.3bc4bc9e@grimnir> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: Pre-release test tarballs of httpd 1.3.40, 2.0.62 and 2.2.7 available Thread-Index: AchSVn4SHjcVUjPLQGClJ1p+5z6KtQAUOv3w From: =?iso-8859-1?Q?Pl=FCm=2C_R=FCdiger=2C_VF-Group?= To: X-OriginalArrivalTime: 09 Jan 2008 10:15:58.0479 (UTC) FILETIME=[A0BD19F0:01C852A8] X-eXpurgate-Category: 1/0 X-eXpurgate-ID: 149371::080109111558-2CF51BB0-6D62A725/0-0/0-0 X-Virus-Checked: Checked by ClamAV on apache.org > -----Urspr=FCngliche Nachricht----- > Von: Nick Kew=20 > Gesendet: Mittwoch, 9. Januar 2008 01:27 > An: dev@httpd.apache.org > Betreff: Re: Pre-release test tarballs of httpd 1.3.40,=20 > 2.0.62 and 2.2.7 available >=20 >=20 > On Mon, 07 Jan 2008 11:29:43 +0100 > Ruediger Pluem wrote: >=20 > > I will also propose the optimizations. If someone has cycles to > > review then fine, if not then in 2.2.9 :-). >=20 > At lines 364 and 460 (trunk), you set HTTP_SERVICE_UNAVAILABLE > when broken chunking is encountered. I don't think that's right: That's because this was the error code that was used there before for empty chunk size lines, but I agree that this error code might be wrong. >=20 > - bad chunking in a request should return HTTP_BAD_REQUEST > - bad chunking in a proxy response should return HTTP_BAD_GATEWAY >=20 > Can we know if we're processing request or response at this point? IMHO unfortunately not, but it does not matter in the proxy case anyway, because the error messages sent via bail_out_on_error are sent to the = backend server in this case and not the client :-). This is because we have = switched the meaning of INPUT and OUTPUT filters for our proxy connection to the = backend. The client will receive internal server error just as with your test = with the insane sized chunk extension. This is no regression it has worked = forever like this. So in the light of this it might make sense to change this simply from HTTP_SERVICE_UNAVAILABLE to HTTP_BAD_REQUEST. WDYT? >=20 > Also, I committed a simple edge-case fix against empty data > buckets getting in the way of detecting a lineend. > I presume you're OK with r610240? Thanks. Your patch is much better than my stupid one. Regards R=FCdiger