https://issues.apache.org/bugzilla/show_bug.cgi?id=45282
--- Comment #3 from Filip Hanik <[EMAIL PROTECTED]> 2008-10-01 09:24:59 PST ---
I believe a patch could look something like
Index: org/apache/catalina/tribes/transport/nio/NioReceiver.java
===================================================================
--- org/apache/catalina/tribes/transport/nio/NioReceiver.java (revision
695909)
+++ org/apache/catalina/tribes/transport/nio/NioReceiver.java (working copy)
@@ -377,6 +377,7 @@
log.warn("Unable to cleanup on selector close.",ignore);
}
}catch ( ClosedSelectorException ignore){}
+ try {selector.selectNow();}catch (Throwable ignore){}
selector.close();
}
and all we do, is issue a selectNow statement after we have cancelled the keys
best
Filip
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]