Remove close(..) call which gave us troubles with
ClosedChannelException. See #142 and #138
This commit is contained in:
parent
e2109b236b
commit
02be2523e0
@ -370,7 +370,14 @@ class NioClientSocketPipelineSink extends AbstractChannelSink {
|
||||
ConnectException cause = null;
|
||||
for (SelectionKey k: keys) {
|
||||
if (!k.isValid()) {
|
||||
close(k);
|
||||
// Comment the close call again as it gave us major problems
|
||||
// with ClosedChannelExceptions.
|
||||
//
|
||||
// See:
|
||||
// * https://github.com/netty/netty/issues/142
|
||||
// * https://github.com/netty/netty/issues/138
|
||||
//
|
||||
// close(k);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user