We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1c2ce3 commit 48aa716Copy full SHA for 48aa716
libs/nio/src/main/java/org/elasticsearch/nio/ChannelFactory.java
@@ -177,7 +177,9 @@ SocketChannel openNioChannel(InetSocketAddress remoteAddress) throws IOException
177
178
SocketChannel acceptNioChannel(ServerChannelContext serverContext) throws IOException {
179
ServerSocketChannel rawChannel = serverContext.getChannel().getRawChannel();
180
+ assert rawChannel.isBlocking() == false;
181
SocketChannel socketChannel = accept(rawChannel);
182
183
if (socketChannel == null) {
184
return null;
185
}
0 commit comments