Second fix for: NETTY-114 Selectors of the NIO transport are sometimes not waken up
* ServerSocket timeout didn't work as expected.
This commit is contained in:
parent
d2427cac7a
commit
baea5f7a00
@ -201,7 +201,7 @@ class NioServerSocketPipelineSink extends AbstractChannelSink {
|
||||
public void run() {
|
||||
for (;;) {
|
||||
try {
|
||||
SocketChannel acceptedSocket = channel.socket.accept();
|
||||
SocketChannel acceptedSocket = channel.socket.socket().accept().getChannel();
|
||||
try {
|
||||
ChannelPipeline pipeline =
|
||||
channel.getConfig().getPipelineFactory().getPipeline();
|
||||
|
Loading…
x
Reference in New Issue
Block a user