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(
|
channel.socket.register(
|
||||||
boss.selector, SelectionKey.OP_CONNECT, channel);
|
boss.selector, SelectionKey.OP_CONNECT, channel);
|
||||||
} catch (ClosedChannelException e) {
|
} catch (ClosedChannelException e) {
|
||||||
throw new ChannelException(
|
NioWorker.close(channel, succeededFuture(channel));
|
||||||
"Failed to register a socket to the selector.", e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user