forked from quic-go/quic-go
remove the OmitConnectionID field from the Header struct
Instead, just look at the length of the destination connection ID.
This commit is contained in:
@@ -27,7 +27,6 @@ var _ = Describe("QUIC Proxy", func() {
|
||||
PacketNumberLen: protocol.PacketNumberLen6,
|
||||
DestConnectionID: protocol.ConnectionID{0xde, 0xad, 0xbe, 0xef, 0, 0, 0x13, 0x37},
|
||||
SrcConnectionID: protocol.ConnectionID{0xde, 0xad, 0xbe, 0xef, 0, 0, 0x13, 0x37},
|
||||
OmitConnectionID: false,
|
||||
}
|
||||
hdr.Write(b, protocol.PerspectiveServer, protocol.VersionWhatever)
|
||||
raw := b.Bytes()
|
||||
|
||||
Reference in New Issue
Block a user