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 df0ecc6c0 Disable Nagle's algorithm by default
df0ecc6c0 is described below
commit df0ecc6c04d64fda7fbb7cbe7b160ed3158e3231
Author: emmanuel lecharny <[email protected]>
AuthorDate: Sat May 11 09:55:05 2024 +0200
Disable Nagle's algorithm by default
---
.../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 dedd5b5e0..f060d723a 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 = false;
+ private static final boolean DEFAULT_TCP_NO_DELAY = true; // Disable Nagle
algorithm by default
protected IoService parent;