Another fix for NETTY-206 Unnecessary exception log on early disconnection

This commit is contained in:
Trustin Lee 2009-08-07 11:21:39 +00:00
parent 7c828fc87d
commit 2ab6e4b5b0

View File

@ -379,8 +379,7 @@ class NioClientSocketPipelineSink extends AbstractChannelSink {
channel.socket.register(
boss.selector, SelectionKey.OP_CONNECT, channel);
} catch (ClosedChannelException e) {
throw new ChannelException(
"Failed to register a socket to the selector.", e);
NioWorker.close(channel, succeededFuture(channel));
}
}
}