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: Timeout and retries
Date Sat, 13 Jan 2007 21:16:07 GMT
Hi David,

>>> and then setConnectionmanagerTimeout - what's this for? if the pool is
>>> full of connections alread? wait time for getting a connection from the
>>> pool?
>>
>> The latter. Calls will block if the pool is empty, not if it's full :-)
>>   
> What happens if max connections is reached and a new one is attempted -
> will it block - or be interrupted by throwing an exception?

Block until timeout, then an exception is thrown.
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/HttpConnectionManager.html#getConnectionWithTimeout(org.apache.commons.httpclient.HostConfiguration,%20long)


>>> Also, I've noticed that setting
>>> this.connectionManager.getParams().setConnectionTimeout(
>>> connectionTimeout );
>>>
>>> will result in the requests NOT getting retried.
>>>     
>> Could you please open a JIRA issue for this?
>> http://jakarta.apache.org/commons/httpclient/issue-tracking.html
>>   
> done, https://issues.apache.org/jira/browse/HTTPCLIENT-621
> 

thanks,
  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