httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Earliest Hook to Inspect POST Params
Date Sun, 01 Aug 2004 15:38:06 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> [...]
> 
> 
>>I'd think that if any consumer has requested the POST data bypassing
>>the apreq API (even though apreq's filter is installed), apreq 
>>should do nothing. 
>           ^^^^^^^
> 
> That's what it does- almost.  When nobody actually *uses* libapreq2
> until a post-content-handler phase, the apreq filter just hands the 
> parser a copy (nb it just copies the buckets, *not* the data) of the 
> incoming buckets.
> 
> 
>>Otherwise the data gets unnecessary copied.
> 
> 
> No actual data gets copied by mod_apreq, only the buckets are copied.

So what happens if the buckets are destroyed in the response handler phase?

Also copying just the buckets could be quite an overhead too, when there 
is a lot of incoming data.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message