From e26ae20065cdd51fbc142ff8bf3300c92be16d8c Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 21 Nov 2018 22:10:17 +0100 Subject: [PATCH] update settings --- testing/scenarios/transport_test.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/testing/scenarios/transport_test.go b/testing/scenarios/transport_test.go index 1778a12a4..4cbbda7f4 100644 --- a/testing/scenarios/transport_test.go +++ b/testing/scenarios/transport_test.go @@ -8,6 +8,8 @@ import ( "testing" "time" + "v2ray.com/core/transport/internet/headers/wechat" + "v2ray.com/core" "v2ray.com/core/app/log" "v2ray.com/core/app/proxyman" @@ -305,7 +307,9 @@ func TestVMessQuic(t *testing.T) { TransportSettings: []*internet.TransportConfig{ { ProtocolName: "quic", - Settings: serial.ToTypedMessage(&quic.Config{}), + Settings: serial.ToTypedMessage(&quic.Config{ + Header: serial.ToTypedMessage(&wechat.VideoConfig{}), + }), }, }, }, @@ -360,7 +364,9 @@ func TestVMessQuic(t *testing.T) { TransportSettings: []*internet.TransportConfig{ { ProtocolName: "quic", - Settings: serial.ToTypedMessage(&quic.Config{}), + Settings: serial.ToTypedMessage(&quic.Config{ + Header: serial.ToTypedMessage(&wechat.VideoConfig{}), + }), }, }, },