httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: chunking of content in mod_include?
Date Tue, 28 Aug 2001 03:13:53 GMT
On Mon, 27 Aug 2001, Brian Pane wrote:

> >The only thing I can think of is to add to and check the byte tally
> >at bucket boundaries. We might go over the BYTE_COUNT_THRESHOLD, but
> >the check wouldn't happen on every byte and there wouldn't need to be
> >a bucket split to send along the first part. Is this what you mean?
>
> I think checking on bucket boundaries would be better.  And to guard
> against the case where a single bucket might contain 200 MB of data,
> wouldn't it work to just check the bucket size right after the
> apr_bucket_read in find_start_sequence and split the bucket there if
> its size exceeds some reasonable threshold?

Let me second that idea... checking per-bucket would be WAY better IMO.

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message