commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient DefaultHttpMethodRetryHandler.java
Date Mon, 20 Dec 2004 11:47:46 GMT
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


Mime
View raw message