here is a patch that would solve it the way I proposed
Index: java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java
===================================================================
---
java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java
(revision 533123)
+++
java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java
(working copy)
@@ -286,6 +286,15 @@
if ( sender.keepalive() ) {
nioSenders.remove(entry.getKey());
result = true;
+ } else {
+ try {
+ sender.read(null);
+ }catch ( IOException x ) {
+ sender.disconnect();
+ sender.reset();
+ nioSenders.remove(entry.getKey());
+ result = true;
+ }
}
}
return result;
Only because membership and connections have nothing to do with each
other :)
Also, no other way to detect a disconnect than to issue a read on the
channel.
Filip
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]