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