--- On Wed, 9/24/08, Ryan Gies <[EMAIL PROTECTED]> wrote:

> When I post a multipart-form request I see two files being
> written
> in my temp directory:
> 
>   -rw-------  1 ryan users 8318656 2008-09-24 10:51
> apreqK5Oiyc
>   -rw-------  1 ryan users 8318484 2008-09-24 10:51
> apreqQ1qs6C
> 
> And:
> 
>  
> Apache2::Request->new($r)->upload('file')->tempname()
> 
> indicates the spool file is "apreqQ1qs6C".
> 
> So I wonder what the file "apreqK5Oiyc" is all
> about.  

It's spooling the contents of the raw (unparsed) body.
You can tell apreq not to do this by calling $r->discard_request_body
in your handler after invoking Apache2::Request::new.




      

Reply via email to