httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: sed filter module
Date Wed, 14 Mar 2007 18:38:48 GMT
On Wed, 14 Mar 2007 16:56:41 +0000
Joe Orton <> wrote:

> On Wed, Mar 14, 2007 at 03:45:05PM +0000, Nick Kew wrote:
> > Nope.  Just one brigades worth at a time.  And the most likely case
> > for that to be an entire document is when it's a static file, and
> > document == brigade == bucket.
> I'm not sure what you're saying here.  Which do you agree with:
> a) size of data represented by a brigade is limited only by apr_off_t

ditto size of a bucket

> b) httpd does use brigades representing large amounts of content e.g. 
> containing FILE or CGI/PIPE buckets

Again, the unit of indefinite size is the bucket

> c) if you loop through all the buckets in a brigade calling read() on 
> every one, you map all the data represented by the brigade into RAM


> d) writing filters which use RAM proportional to content size is bad


Now, what leads you to suppose mod_line_edit uses RAM proportional
to content size?  Other than when the entire contents arrive in a
single bucket?

Nick Kew

Application Development with Apache - the Apache Modules Book

View raw message