Skip to content

Commit

Permalink
Issue mrniko#481 - changed SO_LINGER to be handled as child channel (…
Browse files Browse the repository at this point in the history
…not server channel) option
  • Loading branch information
Robert Elek committed Oct 26, 2017
1 parent 567ad95 commit fcc7d33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ protected void applyConnectionOptions(ServerBootstrap bootstrap) {
bootstrap.childOption(ChannelOption.RCVBUF_ALLOCATOR, new FixedRecvByteBufAllocator(config.getTcpReceiveBufferSize()));
}
bootstrap.childOption(ChannelOption.SO_KEEPALIVE, config.isTcpKeepAlive());
bootstrap.childOption(ChannelOption.SO_LINGER, config.getSoLinger());

bootstrap.option(ChannelOption.SO_LINGER, config.getSoLinger());
bootstrap.option(ChannelOption.SO_REUSEADDR, config.isReuseAddress());
bootstrap.option(ChannelOption.SO_BACKLOG, config.getAcceptBackLog());
}
Expand Down

0 comments on commit fcc7d33

Please sign in to comment.