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

ClosedChannelException. See #142 and #138
This commit is contained in:
Norman Maurer 2012-01-11 17:59:30 +01:00
parent e2109b236b
commit 02be2523e0

View File

@ -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;
}