|
@@ -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{}),
|
|
|
|
|
+ }),
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|