httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: Earliest Hook to Inspect POST Params
Date Sun, 01 Aug 2004 16:24:04 GMT
Stas Bekman <stas@stason.org> writes:

> Joe Schaefer wrote:

[...]

> > 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?

Any buckets that actually need to be kept around (eg buckets
representing a file upload) are set aside by the parser.

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

Nope, because the copies are fed right into the parser, which 
usually consumes them, so they go right back into the bucket 
allocator for reuse.  Unless the parser truly needs to set them 
aside (because they represent parsed data, eg a file upload), 
the copies are normally available for reuse on the next 
ap_get_brigade cycle.

-- 
Joe Schaefer


Mime
View raw message