Remove close(..) call which gave us troubles with

ClosedChannelException. See #142 and #138
This commit is contained in:
norman 2012-01-11 16:56:31 +01:00
parent 26bb9576da
commit e714ec12b8

View File

@ -366,7 +366,13 @@ 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;
}