[ https://issues.apache.org/jira/browse/HTTPCLIENT-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104306#comment-17104306 ]
Oleg Kalnichevski commented on HTTPCLIENT-2080: ----------------------------------------------- [~hw873] What makes you think that just pausing for extra seconds would somehow make the problem go away? The main reason for retrying i/o errors is to redirect the request to another live node in a cluster , in which case pausing the request re-execution makes no sense. If the server is unable to process the request due to excessive load it should respond with 503, not just drop the connection. [~michael-o] It is up to you to decide if you want to add support for a delay interval in case of I/O errors. I would just close this ticket as `not-an-issue`. 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