commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbe...@apache.org
Subject cvs commit: jakarta-commons/httpclient release_notes.txt
Date Tue, 01 Jun 2004 00:52:13 GMT
mbecke      2004/05/31 17:52:13

  Modified:    httpclient/src/java/org/apache/commons/httpclient Tag:
                        HTTPCLIENT_2_0_BRANCH HttpConnection.java
               httpclient Tag: HTTPCLIENT_2_0_BRANCH release_notes.txt
  Log:
  HttpConnection.isOpen() no longer logs closed connections as stale.
  
  PR: 29265
  Submitted by: Michael Becke
  Reviewed by: Oleg Kalnichevski
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.67.2.10 +6 -6      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConnection.java
  
  Index: HttpConnection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConnection.java,v
  retrieving revision 1.67.2.9
  retrieving revision 1.67.2.10
  diff -u -r1.67.2.9 -r1.67.2.10
  --- HttpConnection.java	13 Apr 2004 18:24:03 -0000	1.67.2.9
  +++ HttpConnection.java	1 Jun 2004 00:52:12 -0000	1.67.2.10
  @@ -72,7 +72,7 @@
    *
    * @author Rod Waldhoff
    * @author Sean C. Sullivan
  - * @author Ortwin Gl├╝ck
  + * @author Ortwin Gl??ck
    * @author <a href="mailto:jsdever@apache.org">Jeff Dever</a>
    * @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
    * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
  @@ -433,7 +433,7 @@
        * @return <tt>true</tt> if the connection is open
        */
       public boolean isOpen() {
  -        if (used && isStaleCheckingEnabled() && isStale()) {
  +        if (used && isOpen && isStaleCheckingEnabled() && isStale())
{
               LOG.debug("Connection is stale, closing...");
               close();
           }
  
  
  
  No                   revision
  No                   revision
  1.9.2.9   +2 -0      jakarta-commons/httpclient/release_notes.txt
  
  Index: release_notes.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/release_notes.txt,v
  retrieving revision 1.9.2.8
  retrieving revision 1.9.2.9
  diff -u -r1.9.2.8 -r1.9.2.9
  --- release_notes.txt	2 May 2004 15:15:34 -0000	1.9.2.8
  +++ release_notes.txt	1 Jun 2004 00:52:12 -0000	1.9.2.9
  @@ -2,6 +2,8 @@
   -------------------
   Changes since Release 2.0
   
  + * 29265 - HttpConnection.isOpen() no longer logs closed connections as stale.
  +
    * 28728 - HttpUrl now accepts unescaped passwords
   
    * 28626 - Fixed ArrayIndexOutOfBoundsException in HttpStatus.getStatusText()
  
  
  

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