Added TCP_NODELAY to the socket
This commit is contained in:
@@ -120,6 +120,7 @@ public class NettyAcceptor implements ServerAcceptor {
|
||||
})
|
||||
.option(ChannelOption.SO_BACKLOG, 128)
|
||||
.option(ChannelOption.SO_REUSEADDR, true)
|
||||
.option(ChannelOption.TCP_NODELAY, true)
|
||||
.childOption(ChannelOption.SO_KEEPALIVE, true);
|
||||
try {
|
||||
// Bind and start to accept incoming connections.
|
||||
|
||||
Reference in New Issue
Block a user