Fixed issue: NETTY-205 Unnecessary exception log on early disconnection
* Do not log ClosedChannelException in RegisterTask.run()
This commit is contained in:
parent
68b54c9dde
commit
8a35a9aad3
@ -751,9 +751,11 @@ class NioWorker implements Runnable {
|
||||
future.setFailure(e);
|
||||
}
|
||||
close(channel, succeededFuture(channel));
|
||||
if (!(e instanceof ClosedChannelException)) {
|
||||
throw new ChannelException(
|
||||
"Failed to register a socket to the selector.", e);
|
||||
}
|
||||
}
|
||||
|
||||
if (!server) {
|
||||
if (!((NioClientSocketChannel) channel).boundManually) {
|
||||
|
Loading…
Reference in New Issue
Block a user