geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol ProtocolFactory.java
Date Sun, 25 Apr 2004 06:37:12 GMT
adc         2004/04/24 23:37:12

  Modified:    modules/network/src/java/org/apache/geronimo/network/protocol
                        ProtocolFactory.java
  Log:
  If connection is done, then it is already closed.
  
  Revision  Changes    Path
  1.6       +2 -2      incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/ProtocolFactory.java
  
  Index: ProtocolFactory.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/ProtocolFactory.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ProtocolFactory.java	19 Apr 2004 16:34:06 -0000	1.5
  +++ ProtocolFactory.java	25 Apr 2004 06:37:12 -0000	1.6
  @@ -188,7 +188,7 @@
                               || (currentTime - connection.getLastUsed()) > maxInactivity)
{
                           log.trace("Connection [" + key + "] reclaimed");
   
  -                        connection.drain();
  +                        if (!connection.isDone()) connection.drain();
   
                           ClockDaemon.cancel(clockTicket);
                           connectionCache.remove(key);
  
  
  

Mime
View raw message