Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 82989 invoked from network); 7 Mar 2007 19:59:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2007 19:59:36 -0000 Received: (qmail 62467 invoked by uid 500); 7 Mar 2007 19:59:44 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 62327 invoked by uid 500); 7 Mar 2007 19:59:43 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 62315 invoked by uid 99); 7 Mar 2007 19:59:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 11:59:43 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of siddharth.sharma@staples.com designates 12.40.61.38 as permitted sender) Received: from [12.40.61.38] (HELO frasmtp3.staples.com) (12.40.61.38) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 11:59:32 -0800 Received: from ([10.3.32.124]) by frasmtp3.staples.com with ESMTP id KP-BPZTY.119677945; Wed, 07 Mar 2007 14:58:44 -0500 Received: from fraexims3.staples.com (Not Verified[10.3.17.116]) by fracf1.staples.com with NetIQ MailMarshal (v5.5.4.17) id ; Wed, 07 Mar 2007 14:58:44 -0500 Received: by fraexims3.staples.com with Internet Mail Service (5.5.2656.59) id ; Wed, 7 Mar 2007 14:58:43 -0500 Message-ID: From: "Sharma, Siddharth" To: HttpClient User Discussion Subject: Set connect timeout Date: Wed, 7 Mar 2007 14:58:31 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C760F2.FA323592" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C760F2.FA323592 Content-Type: text/plain Is there a way to set a connect timeout per host configuration? I am using a single HttpClient instance with MultiThreadedHttpConnectionManager and am setting the connect timeout at the manager level. HttpConnectionManagerParams.setConnectionTimeout(int) The side-effect of this is that all hosts get the same connect timeout value. Some target hosts are on the internet and some are within the intranet and I need the ability to be able to set it per host. Thanks in advance Sid ------_=_NextPart_001_01C760F2.FA323592--