Added TCP_NODELAY to the socket

This commit is contained in:
andrea
2015-02-24 23:38:04 +01:00
parent 08506617b6
commit fb39e64417
@@ -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.