Update proto file for websocket and httpupgrade (breaking)

This commit is contained in:
yuhan6665 2024-03-29 01:39:59 -04:00 committed by RPRX
parent 53e5814d19
commit e2302b421c
12 changed files with 121 additions and 194 deletions

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",
},
}),
},