Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99D7C7532 for ; Mon, 29 Aug 2011 09:07:24 +0000 (UTC) Received: (qmail 19373 invoked by uid 500); 29 Aug 2011 09:07:21 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 19068 invoked by uid 500); 29 Aug 2011 09:07:11 -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 19032 invoked by uid 99); 29 Aug 2011 09:07:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 09:07:06 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.232.224.72] (HELO mailout03.vodafone.com) (195.232.224.72) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 09:06:56 +0000 Received: from mailint03 (localhost [127.0.0.1]) by mailout03 (Postfix) with ESMTP id 0581111645C for ; Mon, 29 Aug 2011 11:06:34 +0200 (CEST) Received: from avoexs01.internal.vodafone.com (unknown [145.230.4.134]) by mailint03 (Postfix) with ESMTP id EDF72116456 for ; Mon, 29 Aug 2011 11:06:33 +0200 (CEST) Received: from VF-MBX11.internal.vodafone.com ([145.230.5.20]) by avoexs01.internal.vodafone.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 29 Aug 2011 11:06:35 +0200 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: svn commit: r1162579 - /httpd/httpd/trunk/modules/http/byterange_filter.c Date: Mon, 29 Aug 2011 11:06:33 +0200 Message-ID: In-Reply-To: <201108290944.51383.sf@sfritsch.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: svn commit: r1162579 - /httpd/httpd/trunk/modules/http/byterange_filter.c Thread-Index: AcxmH6rYbyFb+ZXnRH6k5JkO5GBhPgACknWQ References: <20110828194521.B316C238888F@eris.apache.org> <201108290944.51383.sf@sfritsch.de> From: =?iso-8859-1?Q?=22Pl=FCm=2C_R=FCdiger=2C_VF-Group=22?= To: X-OriginalArrivalTime: 29 Aug 2011 09:06:35.0237 (UTC) FILETIME=[F3D4C950:01CC662A] =20 > -----Original Message----- > From: Stefan Fritsch [mailto:sf@sfritsch.de]=20 > Sent: Montag, 29. August 2011 09:45 > To: dev@httpd.apache.org > Subject: Re: svn commit: r1162579 -=20 > /httpd/httpd/trunk/modules/http/byterange_filter.c >=20 > On Sunday 28 August 2011, Stefan Fritsch wrote: >=20 > > This is broken. It causes the Content-Length header to contain the > > size of the original file instead of the response body. Is the > > correct fix to add apr_table_unset(r->headers_out, > > "Content-Length") ? >=20 > Committed that to trunk and updated=20 > http://people.apache.org/~sf/byterange-no-merge.2.2.diff to=20 > include it=20 > and a change to reset the status to 200 if the range header is=20 > invalid. The latter issue was fixed in trunk by Eric's MaxRanges=20 > change. >=20 Patch looks good, but a few comments: 1. r1162669 is missing (provided this was really a good idea from me = :-)). 2. I adjusted trunk code to drop the copying of the original range header to "or" as well as this does not seem to be needed (r1162687). Regards R=FCdiger