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: Massive leak in Apache2::Upload?
Date Wed, 18 May 2005 16:37:28 GMT
Ville Skyttä <ville.skytta@iki.fi> writes:

>     package uptest;
>     use Apache2::Request;
>     use Apache2::Upload;
>     sub handler
>     {
>       my $r = Apache2::Request->new(shift);

Next thought: try adding

        $r->discard_request_body;

right here, and report back even if this doesn't help any.

>       print "Content-Type: text/plain\r\n\r\n";
>       foreach ($r->upload()) {
>         my $up = $r->upload($_);
>         print $up->filename(), "\n";
>       }
>     }
>     1;

-- 
Joe Schaefer


Mime
View raw message