From 2a78af34fdc9a59dc245d1567798d3e9d3167905 Mon Sep 17 00:00:00 2001 From: vcptr <51714622+vcptr@users.noreply.github.com> Date: Wed, 27 Nov 2019 14:40:28 +0800 Subject: [PATCH] fix: KCPLarge buffer size too small --- testing/scenarios/vmess_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/scenarios/vmess_test.go b/testing/scenarios/vmess_test.go index 413da2e8a..d6f4306a3 100644 --- a/testing/scenarios/vmess_test.go +++ b/testing/scenarios/vmess_test.go @@ -810,10 +810,10 @@ func TestVMessKCPLarge(t *testing.T) { Protocol: internet.TransportProtocol_MKCP, Settings: serial.ToTypedMessage(&kcp.Config{ ReadBuffer: &kcp.ReadBuffer{ - Size: 4096, + Size: 512 * 1024, }, WriteBuffer: &kcp.WriteBuffer{ - Size: 4096, + Size: 512 * 1024, }, UplinkCapacity: &kcp.UplinkCapacity{ Value: 20, @@ -897,10 +897,10 @@ func TestVMessKCPLarge(t *testing.T) { Protocol: internet.TransportProtocol_MKCP, Settings: serial.ToTypedMessage(&kcp.Config{ ReadBuffer: &kcp.ReadBuffer{ - Size: 4096, + Size: 512 * 1024, }, WriteBuffer: &kcp.WriteBuffer{ - Size: 4096, + Size: 512 * 1024, }, UplinkCapacity: &kcp.UplinkCapacity{ Value: 20,