You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Olivier Lamy (JIRA)" <ji...@apache.org> on 2010/05/26 16:37:37 UTC

[jira] Created: (HTTPCLIENT-944) In case of SocketTimeoutException and using HttpRequestRetryHandler the execution is always +1

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
    Affects Versions: 4.1 Alpha2
            Reporter: Olivier Lamy


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


[jira] Updated: (HTTPCLIENT-944) In case of SocketTimeoutException and using HttpRequestRetryHandler the execution is always +1

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCLIENT-944:
-----------------------------------------

    Fix Version/s: 4.1 Alpha3
         Priority: Trivial  (was: Major)
      Component/s: HttpClient

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


[jira] Resolved: (HTTPCLIENT-944) In case of SocketTimeoutException and using HttpRequestRetryHandler the execution is always +1

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org