When the client is sending me some messages, I deal message and use writeAndFlush to reply to the client, sometimes delaying for a few seconds. What happens? Is it blocked?
Asked
Active
Viewed 38 times
0
-
Maybe you can add `childOption(ChannelOption.TCP_NODELAY, Boolean.TRUE)` to your server and client. – chaos Sep 24 '20 at 03:54
-
It doesn't work. It's like it's blocked. Wait more than ten seconds, the client will receive messages one after another – jing nian Sep 24 '20 at 06:12