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: Is it possible to reduce the delay during connection failure
Date Sat, 29 Apr 2006 11:16:55 GMT
Hello Sheetal,

> It takes lot of time to throw the error during connection failure
> is there any configurations can be made to minimise this.

If the server rejects the connection attempt, this should be reported
instantaneously. If you see long wait times, there is something wrong
on the network level. Try reducing the connection timeout setting, and
check the response times for DNS resolution.

http://jakarta.apache.org/commons/httpclient/preference-api.html#HTTP_connection_parameters

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