Skip to content

Commit

Permalink
Disable Nagle's algorithm by default
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed May 11, 2024
1 parent 57767e4 commit df0ecc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class DefaultSocketSessionConfig extends AbstractSocketSessionConfig {

private static final int DEFAULT_SO_LINGER = -1;

private static final boolean DEFAULT_TCP_NO_DELAY = false;
private static final boolean DEFAULT_TCP_NO_DELAY = true; // Disable Nagle algorithm by default

protected IoService parent;

Expand Down

0 comments on commit df0ecc6

Please sign in to comment.