[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCLIENT-944.
------------------------------------------

    Fix Version/s: 4.0.2
       Resolution: Fixed

Olivier,

Probably your expectation is wrong. The request execution counter starts at 1. 
However, I found the issue with HttpClient passing the total execute count 
instead of the current request execute count to the retry handler. Fixed in 
trunk and 4.0.x.

Oleg

> In case of SocketTimeoutException and using HttpRequestRetryHandler the 
> execution is always +1
> ----------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-944
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-944
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.1 Alpha2
>            Reporter: Olivier Lamy
>            Priority: Trivial
>             Fix For: 4.0.2, 4.1 Alpha3
>
>
> If my request encounter a SocketTimeoutException, the 
> HttpRequestRetryHandler#retryRequest will be called with an executionCount 
> with a value +1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to