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

Oleg Kalnichevski commented on HTTPCLIENT-2080:
-----------------------------------------------

> 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.

[~hw873] Should there be? Why exactly?

Oleg

> 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