1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05:00

update settings

This commit is contained in:
Darien Raymond 2018-11-21 22:10:17 +01:00
parent 9d4a1df40b
commit e26ae20065
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -8,6 +8,8 @@ import (
"testing" "testing"
"time" "time"
"v2ray.com/core/transport/internet/headers/wechat"
"v2ray.com/core" "v2ray.com/core"
"v2ray.com/core/app/log" "v2ray.com/core/app/log"
"v2ray.com/core/app/proxyman" "v2ray.com/core/app/proxyman"
@ -305,7 +307,9 @@ func TestVMessQuic(t *testing.T) {
TransportSettings: []*internet.TransportConfig{ TransportSettings: []*internet.TransportConfig{
{ {
ProtocolName: "quic", 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{ TransportSettings: []*internet.TransportConfig{
{ {
ProtocolName: "quic", ProtocolName: "quic",
Settings: serial.ToTypedMessage(&quic.Config{}), Settings: serial.ToTypedMessage(&quic.Config{
Header: serial.ToTypedMessage(&wechat.VideoConfig{}),
}),
}, },
}, },
}, },