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 SelectorManager.java
Date Mon, 02 Aug 2004 23:38:03 GMT
adc         2004/08/02 16:38:03

  Modified:    modules/network/src/java/org/apache/geronimo/network
                        SelectorManager.java
  Log:
  I may be prematurely removing keys.
  
  Revision  Changes    Path
  1.17      +4 -1      incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/SelectorManager.java
  
  Index: SelectorManager.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/SelectorManager.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- SelectorManager.java	18 Jul 2004 23:39:02 -0000	1.16
  +++ SelectorManager.java	2 Aug 2004 23:38:03 -0000	1.17
  @@ -151,6 +151,8 @@
   
                       log.trace("Waiting for selector to return.");
                       if (selector.select(timeout) == 0) {
  +                        log.trace("timeout == 0");
  +
                           /**
                            * Clean stale connections that do not have and data: select
                            * returns indicating that the count of active connections with
  @@ -164,6 +166,7 @@
   
                           while (list.hasNext()) {
                               SelectionKey key = (SelectionKey) list.next();
  +                            log.trace("REMOVING " + key);
                               key.channel().close();
                               key.cancel();
                               list.remove();
  
  
  

Mime
View raw message