From 99ff31aad60ae3f182d01a5106cab6bce882f68e Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 3 Mar 2016 12:17:14 +0100 Subject: [PATCH] Increased send and receive window to 48 KB --- app/src/main/jni/netguard/netguard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/jni/netguard/netguard.h b/app/src/main/jni/netguard/netguard.h index 79b5d6a9..8ad5a151 100644 --- a/app/src/main/jni/netguard/netguard.h +++ b/app/src/main/jni/netguard/netguard.h @@ -45,8 +45,8 @@ #define UDP_TIMEOUT_ANY 300 // seconds #define UDP_KEEP_TIMEOUT 60 // seconds -#define TCP_RECV_WINDOW 16384 // bytes (maximum) -#define TCP_SEND_WINDOW 16384 // bytes (maximum) +#define TCP_RECV_WINDOW 49152 // bytes (maximum) +#define TCP_SEND_WINDOW 49152 // bytes (maximum) #define TCP_INIT_TIMEOUT 30 // seconds ~net.inet.tcp.keepinit #define TCP_IDLE_TIMEOUT 300 // seconds ~net.inet.tcp.keepidle #define TCP_CLOSE_TIMEOUT 30 // seconds