You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ol...@apache.org on 2004/12/20 12:47:46 UTC
cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient DefaultHttpMethodRetryHandler.java
olegk 2004/12/20 03:47:46
Modified: httpclient/src/java/org/apache/commons/httpclient
DefaultHttpMethodRetryHandler.java
Log:
PR #32558 (DefaultMethodRetryHandler bug)
Contributed by Oleg Kalnichevski
Reviewed by Michael Becke
Revision Changes Path
1.3 +4 -4 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/DefaultHttpMethodRetryHandler.java
Index: DefaultHttpMethodRetryHandler.java
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/DefaultHttpMethodRetryHandler.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DefaultHttpMethodRetryHandler.java 18 Sep 2004 11:34:12 -0000 1.2
+++ DefaultHttpMethodRetryHandler.java 20 Dec 2004 11:47:46 -0000 1.3
@@ -86,7 +86,7 @@
if (exception == null) {
throw new IllegalArgumentException("Exception parameter may not be null");
}
- if (executionCount >= this.retryCount) {
+ if (executionCount > this.retryCount) {
// Do not retry if over max retry count
return false;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org