hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-791) Default retry count three even if documentation says it's five
Date Fri, 15 Aug 2008 18:03:44 GMT

     [ 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


Mime
View raw message