You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Pierre N. (Jira)" <ji...@apache.org> on 2021/03/15 15:24:00 UTC

[jira] [Created] (HTTPCLIENT-2141) DefaultHttpRequestRetryStrategy has no timeout on retryafter header

Pierre N. created HTTPCLIENT-2141:
-------------------------------------

             Summary: DefaultHttpRequestRetryStrategy has no timeout on retryafter header
                 Key: HTTPCLIENT-2141
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2141
             Project: HttpComponents HttpClient
          Issue Type: Bug
    Affects Versions: 5.0.3
            Reporter: Pierre N.


In *DefaultHttpRequestRetryStrategy.java:207* value of the HTTP retry header of the failed server is reused as is by *HttpRequestRetryExec:143* to sleep the thread. 

A server returning a very far retry after header is able to block httpclient request indefinetly by default (and even if proper connect, connection and response timeouts have been set).



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