Skip to content

Commit

Permalink
updated code for netty exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
SeunMatt committed Jan 14, 2018
1 parent 611f60c commit 1664413
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ private void run() throws Exception {
.childHandler(new ChannelInitializer<SocketChannel>() {
public void initChannel(SocketChannel ch) throws Exception {
ch.pipeline().addLast(new ChannelHandlerA(), new ChannelHandlerB());
}
}
})
.option(ChannelOption.SO_BACKLOG, 128)
.childOption(ChannelOption.SO_KEEPALIVE, true);
Expand Down

0 comments on commit 1664413

Please sign in to comment.