forked from quic-go/quic-go
implement the new header format
Currently, we're only sending and accepting packets with matching source and destination connection IDs.
This commit is contained in:
@@ -20,11 +20,12 @@ var _ = Describe("Packing and unpacking Initial packets", func() {
|
||||
connID := protocol.ConnectionID{1, 2, 3, 4, 5, 6, 7, 8}
|
||||
ver := protocol.VersionTLS
|
||||
hdr := &wire.Header{
|
||||
IsLongHeader: true,
|
||||
Type: protocol.PacketTypeRetry,
|
||||
PacketNumber: 0x42,
|
||||
ConnectionID: connID,
|
||||
Version: ver,
|
||||
IsLongHeader: true,
|
||||
Type: protocol.PacketTypeRetry,
|
||||
PacketNumber: 0x42,
|
||||
DestConnectionID: connID,
|
||||
SrcConnectionID: connID,
|
||||
Version: ver,
|
||||
}
|
||||
|
||||
BeforeEach(func() {
|
||||
|
||||
Reference in New Issue
Block a user