hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharma, Siddharth" <Siddharth.Sha...@Staples.com>
Subject Set connect timeout
Date Wed, 07 Mar 2007 19:58:31 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message