hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: How to test Connection timeout
Date Thu, 07 Dec 2006 18:33:59 GMT
Hello Lalit,

> I have used following code fragment in our implementation:
> 
> HttpConnectionManagerParams connParams = connManager.getParams();
> connParams.setConnectionTimeout(1);
> 
> But there is no time out happening.

Have you tried setting the timeout value at the method
or client parameters rather than at the connection manager?

hope that helps,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message