sync: quic-go 0.42.0

Signed-off-by: Gaukas Wang <i@gaukas.wang>
This commit is contained in:
Gaukas Wang 2024-04-23 22:34:55 -06:00
parent d40dde9b9b
commit 4973374ea5
No known key found for this signature in database
GPG key ID: 6F0DF52D710D8189
252 changed files with 13121 additions and 5437 deletions

View file

@ -39,7 +39,7 @@ var _ = Describe("Packet Header", func() {
Header: wire.Header{
Type: protocol.PacketTypeInitial,
Length: 123,
Version: protocol.VersionNumber(0xdecafbad),
Version: protocol.Version(0xdecafbad),
},
},
map[string]interface{}{
@ -59,7 +59,7 @@ var _ = Describe("Packet Header", func() {
Header: wire.Header{
Type: protocol.PacketTypeInitial,
Length: 123,
Version: protocol.VersionNumber(0xdecafbad),
Version: protocol.Version(0xdecafbad),
Token: []byte{0xde, 0xad, 0xbe, 0xef},
},
},
@ -80,7 +80,7 @@ var _ = Describe("Packet Header", func() {
Header: wire.Header{
Type: protocol.PacketTypeRetry,
SrcConnectionID: protocol.ParseConnectionID([]byte{0x11, 0x22, 0x33, 0x44}),
Version: protocol.VersionNumber(0xdecafbad),
Version: protocol.Version(0xdecafbad),
Token: []byte{0xde, 0xad, 0xbe, 0xef},
},
},
@ -101,7 +101,7 @@ var _ = Describe("Packet Header", func() {
PacketNumber: 0,
Header: wire.Header{
Type: protocol.PacketTypeHandshake,
Version: protocol.VersionNumber(0xdecafbad),
Version: protocol.Version(0xdecafbad),
},
},
map[string]interface{}{
@ -121,7 +121,7 @@ var _ = Describe("Packet Header", func() {
Header: wire.Header{
Type: protocol.PacketTypeHandshake,
SrcConnectionID: protocol.ParseConnectionID([]byte{0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}),
Version: protocol.VersionNumber(0xdecafbad),
Version: protocol.Version(0xdecafbad),
},
},
map[string]interface{}{