fix: increase kcp tunnel bandwidth limit and fix modal backgrounds

This commit is contained in:
sagitchu
2026-04-21 20:16:58 +08:00
parent c431d79403
commit f3d6366471
5 changed files with 40 additions and 28 deletions
+10 -4
View File
@@ -3661,9 +3661,12 @@ func buildTunnelDialerConfig(protocol string) map[string]interface{} {
"kcp.keepalive": 10,
"kcp.tcp": false,
"kcp.mode": "fast2",
"kcp.sndwnd": 2048,
"kcp.rcvwnd": 2048,
"kcp.sndwnd": 8192,
"kcp.rcvwnd": 8192,
"kcp.mtu": 1400,
"kcp.sockbuf": 16777216,
"kcp.smuxbuf": 16777216,
"kcp.streambuf": 8388608,
"kcp.datashard": 10,
"kcp.parityshard": 3,
"kcp.nocomp": true,
@@ -3682,9 +3685,12 @@ func buildTunnelListenerConfig(protocol string) map[string]interface{} {
"kcp.keepalive": 10,
"kcp.tcp": false,
"kcp.mode": "fast2",
"kcp.sndwnd": 2048,
"kcp.rcvwnd": 2048,
"kcp.sndwnd": 8192,
"kcp.rcvwnd": 8192,
"kcp.mtu": 1400,
"kcp.sockbuf": 16777216,
"kcp.smuxbuf": 16777216,
"kcp.streambuf": 8388608,
"kcp.datashard": 10,
"kcp.parityshard": 3,
"kcp.nocomp": true,