I remember reading about handling when a client cancels an upload
via proxy connections, I just don't remember what or where.

I'm using:

my $req = Apache2::Request->new( $r ); # via handler
my $upload = $req->upload( "uploadFile" ) or return $self->error( "No Upload File Found..." ); my $file = $upload->filename or return $self->error( "No File Name Found..." );
my $fh = $upload->fh;
my $size = $upload->size or return $self->error( "Empty File Size..." );

When a client presses cancel in their browser, I get the following error after a bit of time

[Tue Mar 21 16:14:08 2006] [error] [client 192.168.0.1] (70007)The timeout specified has expired: ap_get_brigade failed during prefetch, referer: http://192.168.0.1/h2adm.pl

How can I get it to cancel the request internally when the client cancels in the browser?
Our mod_perl server is behind another server that proxies to it.

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

Reply via email to