[
https://issues.apache.org/jira/browse/HTTPCLIENT-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464611
]
Oleg Kalnichevski commented on HTTPCLIENT-621:
----------------------------------------------
David,
This is the expected behavior. The default method retry handler does not retry
failed requests if InterruptedIOException is thrown. Do not you think it is
perfectly reasonable to expect the connection to unblock after
connectionTimeout milliseconds and not after numRetries * connectionTimeout
milliseconds?
> connectionManager.getParams().setConnectionTimeout( > connectionTimeout )
> causes no request retrying
> -----------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-621
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-621
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 3.1 Beta 1
> Environment: Windows 2000
> Reporter: David J. M. Karlsen
> Fix For: 3.1 Final
>
>
> If
> connectionManager.getParams().setConnectionTimeout( connectionTimeout );
> is set no request retries will be performed:
> ttpClient.getParams().setParameter( HttpMethodParams.RETRY_HANDLER, new
> DefaultHttpMethodRetryHandler( numRetries, false ) ); //false or true -
> still won't retry if setConnectionTimeout is set numRetries is > 1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]