This is an automated email from the ASF dual-hosted git repository. elecharny pushed a commit to branch bugfix/DIRMINA-1173 in repository https://gitbox.apache.org/repos/asf/mina.git
The following commit(s) were added to refs/heads/bugfix/DIRMINA-1173 by this push: new 495a2826e Revert the change made on the TCP_NODELAY default value. 495a2826e is described below commit 495a2826e2522fac7e0ff0865cdaf52712519d5f Author: emmanuel lecharny <elecha...@apache.org> AuthorDate: Sun May 12 01:55:21 2024 +0200 Revert the change made on the TCP_NODELAY default value. --- .../org/apache/mina/transport/socket/DefaultSocketSessionConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mina-core/src/main/java/org/apache/mina/transport/socket/DefaultSocketSessionConfig.java b/mina-core/src/main/java/org/apache/mina/transport/socket/DefaultSocketSessionConfig.java index f060d723a..dedd5b5e0 100644 --- a/mina-core/src/main/java/org/apache/mina/transport/socket/DefaultSocketSessionConfig.java +++ b/mina-core/src/main/java/org/apache/mina/transport/socket/DefaultSocketSessionConfig.java @@ -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 = true; // Disable Nagle algorithm by default + private static final boolean DEFAULT_TCP_NO_DELAY = false; protected IoService parent;