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,8 +751,10 @@ class NioWorker implements Runnable {
|
||||
future.setFailure(e);
|
||||
}
|
||||
close(channel, succeededFuture(channel));
|
||||
throw new ChannelException(
|
||||
"Failed to register a socket to the selector.", e);
|
||||
if (!(e instanceof ClosedChannelException)) {
|
||||
throw new ChannelException(
|
||||
"Failed to register a socket to the selector.", e);
|
||||
}
|
||||
}
|
||||
|
||||
if (!server) {
|
||||
|
Loading…
Reference in New Issue
Block a user