Hi,
Using 2.05-dev with mod_perl 2 rc5 and Apache 2.0.52 on Fedora Core 3,
when handling uploads using Apache2::Upload, the httpd process size
seems to go up by the size of the processed upload(s) after the request
completes. For example, when feeding a 260MB file to a trivial handler
like this (configured with SetHandler perl-script, PerlHandler uptest):
package uptest;
use Apache2::Request;
use Apache2::Upload;
sub handler
{
my $r = Apache2::Request->new(shift);
print "Content-Type: text/plain\r\n\r\n";
foreach ($r->upload()) {
my $up = $r->upload($_);
print $up->filename(), "\n";
}
}
1;
...the size of the receiving httpd process grows by about 260MB after
handler() returns, and stays that big. Tinkering with $up->fh, fully
reading and explicitly closing or undef'ing it (or undef'ing $up) does
not seem to have any effect.
Thoughts?