Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 75955 invoked from network); 15 Oct 2006 18:56:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Oct 2006 18:56:31 -0000 Received: (qmail 53407 invoked by uid 500); 15 Oct 2006 18:56:31 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 53392 invoked by uid 500); 15 Oct 2006 18:56:31 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 53383 invoked by uid 99); 15 Oct 2006 18:56:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Oct 2006 11:56:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.151.18.208] (HELO dedi17.smart-servers.de) (83.151.18.208) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Oct 2006 11:56:29 -0700 Received: from xdsl-81-173-173-10.netcologne.de ([81.173.173.10] helo=dilbert.crrrwg.de ident=foobar) by dedi17.smart-servers.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GZAxO-0001z1-VJ for modules-dev@httpd.apache.org; Sun, 15 Oct 2006 20:43:31 +0200 Received: from asus.crrrwg.de ([192.168.201.92] ident=949c1c0500890f82feb10fec73479788) by dilbert.crrrwg.de with esmtp (Exim 4.50) id 1GZB9Z-0002FU-Sr for modules-dev@httpd.apache.org; Sun, 15 Oct 2006 20:56:05 +0200 Subject: Re: Traversing the bucket brigade from last to first in the output filter From: Joachim Zobel Reply-To: jzobel@heute-morgen.de To: modules-dev@httpd.apache.org In-Reply-To: <20061014202046.GA13508@shi> References: <20061014092317.GA5420@shi> <200610141140.26050.nick@webthing.com> <20061014202046.GA13508@shi> Content-Type: text/plain Organization: Not organized Date: Sun, 15 Oct 2006 21:12:21 +0200 Message-Id: <1160939541.6032.4.camel@test.asus> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 81.173.173.10 X-SA-Exim-Rcpt-To: modules-dev@httpd.apache.org X-SA-Exim-Mail-From: jzobel@heute-morgen.de X-SA-Exim-Scanned: No (on dedi17.smart-servers.de); SAEximRunCond expanded to false X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi. I do not fully understand your problem, but you probably encountered morphing. If you call apr_bucket_read on a file bucket, it turns into two buckets. A heap bucket, that holds the buffer you read and a file bucket that has a different start offset. You may find this helpful http://www.cs.virginia.edu/~jcw5q/talks/apache/bucketbrigades.ac2002.pdf Sincerely, Joachim