RE: Allocating a buffer efficiently...?

2002-03-04 Thread Sander Striker
> From: Igor Sysoev [mailto:[EMAIL PROTECTED]] > Sent: 02 March 2002 16:41 > On Sat, 2 Mar 2002, Sander Striker wrote: > > > > In a recent patch to mod_proxy, a static buffer used to store data read > > > from backend before it was given to frontend was changed to be allocated > > > dynamically

RE: Allocating a buffer efficiently...?

2002-03-02 Thread Igor Sysoev
On Sat, 2 Mar 2002, Sander Striker wrote: > > In a recent patch to mod_proxy, a static buffer used to store data read > > from backend before it was given to frontend was changed to be allocated > > dynamically from a pool like so: > > > > +/* allocate a buffer to store the bytes in */ > > +

Re: Allocating a buffer efficiently...?

2002-03-02 Thread Graham Leggett
Sander Striker wrote: > Can you point me to the original post? I'd like to see the context. > Specifically which pool is being used. The original was . Regards, Graham -- - [EMAIL PROTECTED]"There's a moon

RE: Allocating a buffer efficiently...?

2002-03-02 Thread Sander Striker
> -Original Message- > From: minfrin [mailto:minfrin]On Behalf Of Graham Leggett > Sent: 01 March 2002 05:24 > To: Apache Developers List > Subject: Allocating a buffer efficiently...? > > > Hi all, > > In a recent patch to mod_proxy, a static buffer

Allocating a buffer efficiently...?

2002-03-02 Thread Graham Leggett
Hi all, In a recent patch to mod_proxy, a static buffer used to store data read from backend before it was given to frontend was changed to be allocated dynamically from a pool like so: +/* allocate a buffer to store the bytes in */ +/* make sure it is at least IOBUFSIZE, as recv_buffer_