Browse Source

update test performance

v2ray 9 năm trước cách đây
mục cha
commit
d602025908
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      transport/internet/kcp/kcp_test.go

+ 1 - 1
transport/internet/kcp/kcp_test.go

@@ -27,7 +27,7 @@ func TestDialAndListen(t *testing.T) {
 				break
 			}
 			go func() {
-				payload := make([]byte, 1024)
+				payload := make([]byte, 4096)
 				for {
 					nBytes, err := conn.Read(payload)
 					if err != nil {