httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Rivera <>
Subject RE: APR_BUCKET_BUFF_SIZE question
Date Thu, 10 Jul 2003 00:25:36 GMT
I figured it has to do something with the way pools work. Would it make a
difference if the buffer size used is always a multiple of
APR_BUCKET_BUFF_SIZE? Like 16, 32, 64?

Do you know where the 8K number come from? Is it an empirical number or a
theoretical one?

-----Original Message-----
From: Cliff Woolley []
Sent: Wednesday, July 09, 2003 6:25 PM
To: ''
Subject: Re: APR_BUCKET_BUFF_SIZE question

On Wed, 9 Jul 2003, Juan Rivera wrote:

> That way a filter could ask for more or less bytes than the 8K.

That's what apr_brigade_partition() is for.  Does that not get you what
you want?  And anyway, having a runtime-configurable buffer size would
make the bucket allocator WAY more complicated and less efficient...


View raw message