mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
sync: quic-go 0.42.0
Signed-off-by: Gaukas Wang <i@gaukas.wang>
This commit is contained in:
parent
d40dde9b9b
commit
4973374ea5
252 changed files with 13121 additions and 5437 deletions
|
@ -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{}{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue