httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: filtering patches
Date Wed, 12 Jul 2000 00:48:53 GMT
On Tue, Jul 11, 2000 at 08:24:40AM -0400, Rodent of Unusual Size wrote:
>...
> Except that the black-box filter use of that will cause it to
> grow and grow until the request is completed.  If a bucket
> has its own pool, the pool is destroyed and the memory made
> available for re-allocation as soon as the bucket is dumped
> to the wire.  For pathological cases like mod_gzip, in which
> all the buckets hang around until the filtering is done, the

Isn't gzip a streaming protocol? I really believe it is:

$ cat foo | gzip -c > foo.gz
$ zcat foo.gz | diff - foo
$

In other words, a gzip filter would not have to set aside the entire
request. As the data arrives, it compresses it and sends the (partial)
result down the wire.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message