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:55:11 GMT
mbecke      2004/05/31 17:55:11

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpConnection.java
               httpclient 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
  1.92      +5 -5      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.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- HttpConnection.java	13 May 2004 04:03:25 -0000	1.91
  +++ HttpConnection.java	1 Jun 2004 00:55:10 -0000	1.92
  @@ -389,7 +389,7 @@
        * @return <tt>true</tt> if the connection is open
        */
       public boolean isOpen() {
  -        if (used && this.params.isStaleCheckingEnabled() && isStale())
{
  +        if (used && isOpen && this.params.isStaleCheckingEnabled() &&
isStale()) {
               LOG.debug("Connection is stale, closing...");
               close();
           }
  
  
  
  1.25      +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.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- release_notes.txt	12 May 2004 03:07:03 -0000	1.24
  +++ release_notes.txt	1 Jun 2004 00:55:11 -0000	1.25
  @@ -50,6 +50,8 @@
   Changes on the CVS trunk:
   -------------------------
   
  + * 29265 - HttpConnection.isOpen() no longer logs closed connections as stale.
  +
    * 28645 - Moved/added content type handling to the RequestEntity.
              Contributed by Michael Becke <mbecke at apache.org>, Oleg Kalnichevski
<olegk at apache.org>
   
  
  
  

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