remove 6 byte packet numbers

This commit is contained in:
Marten Seemann 2018-11-19 16:03:41 +07:00
parent bd6567afe1
commit 7696bf59ea
5 changed files with 3 additions and 12 deletions

View file

@ -24,7 +24,7 @@ var _ = Describe("QUIC Proxy", func() {
b := &bytes.Buffer{}
hdr := wire.Header{
PacketNumber: p,
PacketNumberLen: protocol.PacketNumberLen6,
PacketNumberLen: protocol.PacketNumberLen4,
DestConnectionID: protocol.ConnectionID{0xde, 0xad, 0xbe, 0xef, 0, 0, 0x13, 0x37},
SrcConnectionID: protocol.ConnectionID{0xde, 0xad, 0xbe, 0xef, 0, 0, 0x13, 0x37},
}