You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/05/08 09:23:00 UTC

[jira] [Comment Edited] (HTTPCLIENT-2080) HttpRequestRetryStrategy doesn't delay the retry if IOException occurs

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

Michael Osipov edited comment on HTTPCLIENT-2080 at 5/8/20, 9:22 AM:
---------------------------------------------------------------------

So you miss:

{code}
    @Override
    public getRetryInterval getRetryRequest(
            final HttpRequest request,
            final IOException exception,
            final int execCount,
            final HttpContext context);
{code}


was (Author: michael-o):
So you miss:

{code}
    @Override
    public TimeValue getRetryRequest(
            final HttpRequest request,
            final IOException exception,
            final int execCount,
            final HttpContext context);
{code}

> 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-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org