Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 51450 invoked from network); 23 Mar 2006 01:58:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Mar 2006 01:58:16 -0000 Received: (qmail 44311 invoked by uid 500); 23 Mar 2006 01:58:00 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 44250 invoked by uid 500); 23 Mar 2006 01:58:00 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 44215 invoked by uid 99); 23 Mar 2006 01:58:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 17:58:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of boysenberry@humaniteque.com designates 69.72.241.162 as permitted sender) Received: from [69.72.241.162] (HELO static.habitatlife.com) (69.72.241.162) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 17:57:58 -0800 Received: from c-67-175-249-60.hsd1.il.comcast.net ([67.175.249.60] helo=[192.168.0.2]) by static.habitatlife.com with esmtpa (Exim 4.52) id 1FMF4w-0004vw-OO for modperl@perl.apache.org; Wed, 22 Mar 2006 20:57:34 -0500 Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <68266622cff32bfcd0b1bba8b3a34fd4@humaniteque.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: mod_perl From: Boysenberry Payne Subject: Timeout errors on upload cancel with proxy Date: Wed, 22 Mar 2006 19:57:33 -0600 X-Mailer: Apple Mail (2.623) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - static.habitatlife.com X-AntiAbuse: Original Domain - perl.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - humaniteque.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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