Update proto file for websocket and httpupgrade (breaking)

This commit is contained in:
yuhan6665 authored and RPRX committed 2024-03-30 07:42:41 +00:00
1 parent 53e5814d19
commit e2302b421c
12 files changed
+121 -194

No files matched your search

+4 -10
View File
@@ -236,11 +236,8 @@ func TestXrayConfig(t *testing.T) {
{
ProtocolName: "websocket",
Settings: serial.ToTypedMessage(&websocket.Config{
Header: []*websocket.Header{
{
Key: "host",
Value: "example.domain",
},
Header: map[string]string{
"host": "example.domain",
},
}),
},
@@ -291,11 +288,8 @@ func TestXrayConfig(t *testing.T) {
{
ProtocolName: "websocket",
Settings: serial.ToTypedMessage(&websocket.Config{
Header: []*websocket.Header{
{
Key: "host",
Value: "example.domain",
},
Header: map[string]string{
"host": "example.domain",
},
}),
},