Another fix for NETTY-206 Unnecessary exception log on early disconnection
This commit is contained in:
parent
7c828fc87d
commit
2ab6e4b5b0
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user