Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 67816 invoked from network); 8 Dec 2007 18:12:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2007 18:12:46 -0000 Received: (qmail 75403 invoked by uid 500); 8 Dec 2007 18:12:34 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 74542 invoked by uid 500); 8 Dec 2007 18:12:32 -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 74531 invoked by uid 99); 8 Dec 2007 18:12:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Dec 2007 10:12:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTTP_ESCAPED_HOST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.133.199.10] (HELO jimsys.jagunet.com) (209.133.199.10) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Dec 2007 18:12:09 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by jimsys.jagunet.com (Postfix) with ESMTP id BDE4ED2217A for ; Sat, 8 Dec 2007 13:12:06 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <475AC8CB.3030909@apache.org> References: <475AC8CB.3030909@apache.org> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <5690D3FB-3FDB-4DC5-AC3C-7049AB45D4F5@jagunet.com> Content-Transfer-Encoding: quoted-printable From: Jim Jagielski Subject: Re: http://svn.apache.org/viewvc?view=rev&revision=602469 Date: Sat, 8 Dec 2007 13:12:06 -0500 To: dev@httpd.apache.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 8, 2007, at 11:39 AM, Ruediger Pluem wrote: > > In fact the patch does all this as it passes the passbb brigade down > the chain after *each* processed bucket of the original brigade > (the ap_pass_brigade is at *the end* of the while loop *not* after > the while loop). I didn't catch that when looking over the actual patch itself. Seeing the actual code in trunk, yeah, this is better. > So we don't process the whole brigade before passing it down the > chain which would be indeed insane. > In fact flush buckets are handled in the same manner as before > the patch as they fall in the > > if (APR_BUCKET_IS_METADATA(b)) > > branch and the next code that is executed after the block there > is an ap_pass_brigade at the end of the while loop > >> I also see that AP_MIN_BYTES_TO_WRITE is no longer being > > I saw no need for us to do *any* buffering in the filter. If the > data passed down the chain is not reasonable large for sending over > the wire the core network filter will take care of this and buffer > it until it is reasonable or a flush bucket is seen. > >> used at all... I'm guessing MAX_BUCKETS is designed to >> "replace" that?? Again, the idea is to avoid extremely >> large in-process data sizes :) The MAX_BUCKETS seems > > The patch does that :-). > >> to be mostly for super-bad cases and not so much for >> behaving "nicely" in all cases. (mod_include.c does >> the same thing, btw) > > No MAX_BUCKETS should not replace that. It is a safety measure > for super bad cases like the example I gave in my initial review > mail > (http://mail-archives.apache.org/mod_mbox/httpd-dev/200712.mbox/%=20 > 3c99EA83DCDE961346AFA9B5EC33FEC08B05B290@VF-=20 > MBX11.internal.vodafone.com%3e). > > Regards > > R=FCdiger > > >