Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 21824 invoked from network); 14 Nov 2003 14:17:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Nov 2003 14:17:16 -0000 Received: (qmail 8266 invoked by uid 500); 14 Nov 2003 14:17:11 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 8243 invoked by uid 500); 14 Nov 2003 14:17:11 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 8211 invoked from network); 14 Nov 2003 14:17:10 -0000 Received: from unknown (HELO nose.ch) (195.134.131.71) by daedalus.apache.org with SMTP; 14 Nov 2003 14:17:10 -0000 Received: (qmail 15981 invoked from network); 14 Nov 2003 14:17:10 -0000 Received: from calvin.nose.ch (HELO nose.ch) (192.168.1.7) by 0 with SMTP; 14 Nov 2003 14:17:10 -0000 Message-ID: <3FB4E3E6.6080704@nose.ch> Date: Fri, 14 Nov 2003 15:17:10 +0100 From: =?ISO-8859-1?Q?Ortwin_Gl=FCck?= Organization: NOSE Applied Intelligence User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: de-ch, en-us MIME-Version: 1.0 To: Commons HttpClient Project Subject: Re: HttpMethodBase.releaseConnection() finished download References: <3FB42E0D.1060207@upb.de> <5462899A-1652-11D8-99E6-00306557E112@u.washington.edu> <3FB4DCC7.7030908@upb.de> In-Reply-To: <3FB4DCC7.7030908@upb.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sven K�hler wrote: >> Adding the ability to abort methods is planned for the 2.1 release, >> but I don't think anyone has begun work on it yet. If you come up >> with a good solution that you are willing to submit we would be happy >> to make use of it. > > > So what would you suggest how an abort should look like? For me, a > boolean paramter for the releaseConnection-method would be sufficient. > (releaseConnection() would be a shortcut to releaseConnection(boolean) > than). > > I need this now, so i would try to implement a patch. > For semantic reasons I suggest an HttpMethod::abort() method. You will need to create a patch against CVS HEAD. Because for the 2.0 branch it is definitely too late for this feature. Maybe we will even need a HttpClient::abortAll(), but then HttpClient would need to know all the methods it is currently executing. That is easy to implement however. Odi --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org