rmannibucau commented on a change in pull request #37: making the retry handle of http client configurable URL: https://github.com/apache/maven-wagon/pull/37#discussion_r211240505
########## File path: wagon-providers/wagon-http/src/site/apt/index.apt ########## @@ -57,3 +57,22 @@ Features * <<<maven.wagon.http.ssl.ignore.validity.dates>>> = true/false (default false), ignore issues with certificate dates. * <<<maven.wagon.rto>>> = time in ms (default 1800000), read time out. + + [] + + Since version 3.0.1, the retry handler can be configured as well with system properties: + + * <<<maven.wagon.http.retryhandler.class>>> supports this set of values: + + * which implementation to use. `auto` will use `DefaultHttpRequestRetryHandler.INSTANCE`. + * `default` will use a new instance of `DefaultHttpRequestRetryHandler` respecting `requestSentEnabled`, `count` and `nonRetryableClasses`. + * `standard` will use an instance of `StandardHttpRequestRetryHandler` (see https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/StandardHttpRequestRetryHandler.html). + * Any fully qualified name of a `HttpRequestRetryHandler` implementation will be instantiated with its default constructor. + + * <<<maven.wagon.http.retryhandler.requestSentEnabled>>> = `requestSentEnabled` for `default` or `standard` implementations. + + * <<<maven.wagon.http.retryhandler.count>>> = number of retries for `default` or `standard` implementations. + + * <<<maven.wagon.http.retryhandler.nonRetryableClasses>>> = the comma separated list of classes bypassing the retries (only the `default` implementation). + Default being `java.io.InterruptedIOException,java.io.UnknownHostException,java.io.ConnectException,java.io.SSLException` Review comment: fixed ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services