Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 58706 invoked from network); 28 Oct 2003 05:17:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Oct 2003 05:17:43 -0000 Received: (qmail 24938 invoked by uid 500); 28 Oct 2003 05:17:21 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 24895 invoked by uid 500); 28 Oct 2003 05:17:20 -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 24800 invoked from network); 28 Oct 2003 05:17:20 -0000 Received: from unknown (HELO mxout6.cac.washington.edu) (140.142.33.20) by daedalus.apache.org with SMTP; 28 Oct 2003 05:17:20 -0000 Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout6.cac.washington.edu (8.12.10+UW03.09/8.12.10+UW03.09) with ESMTP id h9S5HT0Y017567 for ; Mon, 27 Oct 2003 21:17:30 -0800 Received: from [10.0.1.2] (pool-151-199-24-114.bos.east.verizon.net [151.199.24.114]) (authenticated bits=0) by smtp.washington.edu (8.12.10+UW03.09/8.12.10+UW03.09) with ESMTP id h9S5HRSR006960 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 27 Oct 2003 21:17:29 -0800 Mime-Version: 1.0 (Apple Message framework v606) In-Reply-To: <1067296354.22799.20.camel@localhost.localdomain> References: <825BF35A92B3F0479CC164ECBBE9376E5F025D@kccxoex06.corp.kpmgconsulting.com> <3F9D6472.8060107@u.washington.edu> <1067296354.22799.20.camel@localhost.localdomain> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <049A2F46-0906-11D8-9C91-00306557E112@u.washington.edu> Content-Transfer-Encoding: 7bit From: Michael Becke Subject: Re: SoTimeout setting Date: Tue, 28 Oct 2003 00:17:25 -0500 To: "Commons HttpClient Project" X-Mailer: Apple Mail (2.606) 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 On Oct 27, 2003, at 6:12 PM, Oleg Kalnichevski wrote: > Mike, I see what you mean. Still, no matter how I look at it, > socket/connection timeout parameters on the HttpMethod level does not > seem right. Yes, I agree. My intention would be to specify connection configuration on a per request basis. Though quite similar, the difference would be that the values would not be set on a method instance, and instead passed in to HttpClient during a method execution. > Let's approach the issue from a different angle. You seem to dislike > the > idea of exposing HttpConnection objects contained by > MultiThreadedHttpConnectionManager. What if we allowed > HttpConnectionParams instance(s) to be retrieved given a host > configuration (enumerated), not the HttpConnection instance(s) > itself(themselves)? This is a possibility, though I get the impression that people still want to specify things at the request level. > Besides, if I understand Fabio right, his issue is with inability to > set > different socket/connection timeout parameters per connection. Setting > these parameters per method, if I understand things correctly, was > proposed merely as a work-around The more I think about this the more I feel like our current options are not really what we're looking for. It seems like we need a new level of functionality for configuring/preparing connections between the time they are checked out of a connection manager and the time they are used in a method. Any thoughts? What are you thinking in regard to the HttpConnectionParams/host config mapping? Mike --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org