drop support for QUIC 34

fixes #368
This commit is contained in:
Marten Seemann 2017-03-19 20:28:45 +07:00
parent 9a1e86cf5e
commit 28c115fee1
No known key found for this signature in database
GPG key ID: 3603F40B121FCDEA
9 changed files with 19 additions and 69 deletions

View file

@ -72,12 +72,12 @@ var _ = Describe("Packet unpacker", func() {
})
It("unpacks ACK frames", func() {
unpacker.version = protocol.Version34
unpacker.version = protocol.VersionWhatever
f := &frames.AckFrame{
LargestAcked: 0x13,
LowestAcked: 1,
}
err := f.Write(buf, protocol.Version34)
err := f.Write(buf, protocol.VersionWhatever)
Expect(err).ToNot(HaveOccurred())
setData(buf.Bytes())
packet, err := unpacker.Unpack(hdrBin, hdr, data)