You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2006/06/09 00:37:42 UTC

svn commit: r412874 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/NioReplicationThread.java

Author: fhanik
Date: Thu Jun  8 15:37:42 2006
New Revision: 412874

URL: http://svn.apache.org/viewvc?rev=412874&view=rev
Log:
One more fix

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/NioReplicationThread.java

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/NioReplicationThread.java
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/NioReplicationThread.java?rev=412874&r1=412873&r2=412874&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/NioReplicationThread.java (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/NioReplicationThread.java Thu Jun  8 15:37:42 2006
@@ -197,6 +197,7 @@
                 int resumeOps = key.interestOps() | SelectionKey.OP_READ;
                 key.interestOps(resumeOps);
             }catch ( Exception x ) {
+                try {key.selector().close();}catch ( Exception ignore){}
                 log.error("Unable to cycle the selector, connection disconnected?",x);
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org