michael-o 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_r211112974
 
 

 ##########
 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` 
which assumes that all requested HTTP methods which should be idempotent 
according to RFC-2616 are in fact idempotent and can be retried. According to 
RFC-2616 section 9.1.2 the idempotent HTTP methods are: GET, HEAD, PUT, DELETE, 
OPTIONS, and TRACE. This implementation respects `requestSentEnabled` and 
`count`. 
 
 Review comment:
   It's "RFC xyz". No hyphen involved.

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

Reply via email to