You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2008/08/15 20:03:44 UTC

[jira] Resolved: (HTTPCLIENT-791) Default retry count three even if documentation says it's five

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

Oleg Kalnichevski resolved HTTPCLIENT-791.
------------------------------------------

    Resolution: Fixed

Fixed the exception handling guide. It is unlikely there is ever going to be 3.1.1 release, though.

Oleg

> Default retry count three even if documentation says it's five
> --------------------------------------------------------------
>
>                 Key: HTTPCLIENT-791
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-791
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 3.1 Final
>            Reporter: Juha Mynttinen
>            Priority: Minor
>             Fix For: 3.1.1
>
>
> The exception handling documentation (http://hc.apache.org/httpclient-3.x/exception-handling.html) says "HttpClient will automatically retry up to 5 times those methods...", but in DefaultHttpMethodRetryHandler  e.g. in trunk (http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/DefaultHttpMethodRetryHandler.java?revision=608014&view=markup) you can see that the retry count is three:
>     public DefaultHttpMethodRetryHandler(int retryCount, boolean requestSentRetryEnabled) {
>         super();
>         this.retryCount = retryCount;
>         this.requestSentRetryEnabled = requestSentRetryEnabled;
>     }
>     
>     /**
>      * Creates a new DefaultHttpMethodRetryHandler that retries up to 3 times
>      * but does not retry methods that have successfully sent their requests.
>      */
>     public DefaultHttpMethodRetryHandler() {
>         this(3, false);
>     }

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