Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 46546 invoked from network); 3 Sep 2008 14:54:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 14:54:12 -0000 Received: (qmail 16880 invoked by uid 500); 3 Sep 2008 14:54:10 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 16860 invoked by uid 500); 3 Sep 2008 14:54:10 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 16851 invoked by uid 99); 3 Sep 2008 14:54:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 07:54:10 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 14:53:21 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 0AF5A234C1C6; Wed, 3 Sep 2008 07:53:21 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 45181] Added a timeout option to get task X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core tasks X-Bugzilla-Keywords: PatchAvailable X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bodewig@apache.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bodewig@apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20080903145322.0AF5A234C1C6@brutus.apache.org> Date: Wed, 3 Sep 2008 07:53:22 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=45181 --- Comment #1 from Stefan Bodewig 2008-09-03 07:53:21 PST --- your patch will only work if the download is actually writing to the stream. If it is just sitting there waiting for input and never writing, it won't get interrupted - or will it? I think we need to do it the other way around and fork the download into a parallel thread that we can discard if the timeout occurs - no matter whether it has already hit an IOException or not. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.