httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Lewis <...@joe-lewis.com>
Subject Re: buffer in output filter
Date Mon, 07 Jan 2008 15:32:08 GMT
Christina Fu wrote:
> My filter is a connection filter at tcp level, so I think f->r may not
> exists.
>
> Thanks.
> Christina
>
> Joe Lewis wrote:
>   
>>> Is it safe to use stack buffer (char out[8192]) here? since I added
>>> flush bucket.
>>>   
>>>       
>> Have you considered using the f->r->pool for this?  That would give
>> you a chunk of memory related to the full request.
>>
>> Joe
>>     

Christina;

You might be able to try an f->c->pool and use the connection-specific 
pool.  Try that for housing the connection information memory.

Joe
-- 
Joseph Lewis <http://sharktooth.org/>
"Divide the fire, and you will sooner put it out." - Publius Syrus

Mime
View raw message