hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject RE: How to test Connection timeout
Date Mon, 11 Dec 2006 12:31:39 GMT
Hello Lalit,

> Implementation 2:
> 
> Then As per your advice I have implemented connection time out for
> Httpclient as below:
> 
> clientParams.setSoTimeout(1);
> clientParams.setConnectionManagerTimeout(1);

I never suggested you should set a connection *manager* timeout, I
suggested you set the connect timeout. If I remember correctly,
there is no convenience method for that, that's why I sent you a
link to the parameter name. Please search the mailing list archives,
this has been discussed more than once.

cheers,
  Roland


Mime
View raw message