mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 13:17:36 +03:00
implement parsing of headers with different connection ID lengths
This commit is contained in:
parent
b26eb2705f
commit
0bd7e744ff
16 changed files with 97 additions and 90 deletions
|
@ -65,7 +65,7 @@ var _ = Describe("Packet packer", func() {
|
|||
|
||||
checkPayloadLen := func(data []byte) {
|
||||
r := bytes.NewReader(data)
|
||||
iHdr, err := wire.ParseInvariantHeader(r)
|
||||
iHdr, err := wire.ParseInvariantHeader(r, 0)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
hdr, err := iHdr.Parse(r, protocol.PerspectiveServer, versionIETFFrames)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue