From fb01eb983915c9a09a690ad44c6028dd87500ec7 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Thu, 18 Feb 2021 09:23:44 +0800 Subject: [PATCH] Enlarge the buffer size of a UDP connection --- tun2socks/SocksUdpGwClient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tun2socks/SocksUdpGwClient.c b/tun2socks/SocksUdpGwClient.c index db0bf265..87efb14c 100644 --- a/tun2socks/SocksUdpGwClient.c +++ b/tun2socks/SocksUdpGwClient.c @@ -36,7 +36,7 @@ #ifdef __ANDROID__ #include -#define CONNECTION_UDP_BUFFER_SIZE 8 +#define CONNECTION_UDP_BUFFER_SIZE 64 #else