[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17102446#comment-17102446
 ] 

Hendra commented on HTTPCLIENT-2080:
------------------------------------

[~olegk] As I mentioned, if there are IOExceptions occur, there are no delays 
in the retry.

If you look at code inside the execute method, there is a for loop in it. It 
catches the IOExceptions and calls retryStrategy.retryRequest(request, ex, 
execCount, context) method to check whether the request is eligible for retry. 
There are no delays in between the retry.

> HttpRequestRetryStrategy doesn't delay the retry if IOException occurs
> ----------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-2080
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2080
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient (classic)
>    Affects Versions: 5.0
>            Reporter: Hendra
>            Priority: Major
>
> In httpclient5, HttpRequestRetryStrategy has introduced a new feature 
> retryInterval which determines the interval between subsequent retries. In 
> case there are IOExceptions occur, the retry happens but without any delays.
>  
> There might be some bugs in HttpRequestRetryExec.class implementation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to