summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tunnel-obfuscation/src/udp2tcp.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tunnel-obfuscation/src/udp2tcp.rs b/tunnel-obfuscation/src/udp2tcp.rs
index 386236b446..0eada9b928 100644
--- a/tunnel-obfuscation/src/udp2tcp.rs
+++ b/tunnel-obfuscation/src/udp2tcp.rs
@@ -49,6 +49,8 @@ impl Udp2Tcp {
TcpOptions {
#[cfg(target_os = "linux")]
fwmark: settings.fwmark,
+ // Disables the Nagle algorithm on the TCP socket. Improves performance
+ nodelay: true,
..TcpOptions::default()
},
)