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

Michael Osipov commented on HTTPCLIENT-2141:
--------------------------------------------

OK, sinceĀ {{connectionRequestTimeout}} (from pool) andĀ {{connectTimeout}} 
(initiate TCP session) are not HTTP request related, your reasoning makes 
sense. We should discuss this in the other ticket. {{responseTimeout}} refers 
to the HTTP response.

To rephrase you answer: The proposed configuration makes sense to you, but not 
in {{RequestConfig}} because it would be even more bloated?

> 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.
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to