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/src/java/org/apache/commons/httpclient MultiThreadedHttpConnectionManager.java
Date Sat, 30 Aug 2003 20:13:46 GMT
mbecke      2003/08/30 13:13:46

  Modified:    httpclient/src/java/org/apache/commons/httpclient Tag:
                        HTTPCLIENT_2_0_BRANCH
                        MultiThreadedHttpConnectionManager.java
  Log:
  Added debugging for connection reclaiming.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.17.2.3  +8 -3      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java
  
  Index: MultiThreadedHttpConnectionManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java,v
  retrieving revision 1.17.2.2
  retrieving revision 1.17.2.3
  diff -u -r1.17.2.2 -r1.17.2.3
  --- MultiThreadedHttpConnectionManager.java	31 Jul 2003 02:31:09 -0000	1.17.2.2
  +++ MultiThreadedHttpConnectionManager.java	30 Aug 2003 20:13:46 -0000	1.17.2.3
  @@ -709,6 +709,11 @@
                       HostConfiguration config = (HostConfiguration) referenceToHostConfig.get(ref);
                       referenceToHostConfig.remove(ref);
   
  +                    if (LOG.isDebugEnabled()) {
  +                        LOG.debug(
  +                            "Connection recalimed by garbage collector, hostConfig=" +
config);
  +                    }
  +                    
                       HostConnectionPool hostPool = connectionPool.getHostPool(config);
                       hostPool.numConnections--;
   
  
  
  

Mime
View raw message