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 3EA087F0E for ; Mon, 29 Aug 2011 15:43:22 +0000 (UTC) Received: (qmail 54065 invoked by uid 500); 29 Aug 2011 15:43:21 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 53932 invoked by uid 500); 29 Aug 2011 15:43:20 -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 53924 invoked by uid 99); 29 Aug 2011 15:43:20 -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 15:43:20 +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 [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 15:43:15 +0000 Received: from stf (helo=localhost) by eru.sfritsch.de with local-esmtp (Exim 4.72) (envelope-from ) id 1Qy3zC-00046e-2n for dev@httpd.apache.org; Mon, 29 Aug 2011 17:42:54 +0200 Date: Mon, 29 Aug 2011 17:42:54 +0200 (CEST) From: Stefan Fritsch To: dev@httpd.apache.org Subject: RE: 2.2 approach for byterange? In-Reply-To: Message-ID: References: <201108281112.08119.sf@sfritsch.de><4E5A81AE.1080805@apache.org><201108282222.27230.sf@sfritsch.de> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="683461219-1463984557-1314632574=:15665" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --683461219-1463984557-1314632574=:15665 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 29 Aug 2011, "Pl=FCm, R=FCdiger, VF-Group" wrote: > =09Sent: Montag, 29. August 2011 17:32 > =09To: dev@httpd.apache.org > =09Subject: Re: 2.2 approach for byterange? > > > =09On Sun, Aug 28, 2011 at 4:22 PM, Stefan Fritsch wrote= : > > > =09looks good overall. > > =09+ while (start64 - off_first > (apr_uint64_t)copy->= length) { > =09+ apr_bucket *tmp; > =09+ int i =3D 0; > =09+ if (i++ >=3D 99999) > =09+ return APR_EINVAL; > =09I assume you meant to initialize i before the while() loop. > > =09Greg > > > =09I guess yes. The question is if we should keep that in the backport at= all, as we only do it in the first location > =09and not in the second location and 99999 looks like a rather high numb= er without any comment and documention. > =09IMHO even arbitrary numbers deserve that. > Looks like an accidental commit or merge error in r1162131. I think we=20 should remove that block both from trunk and from the backport. --683461219-1463984557-1314632574=:15665--