handle gQUIC and IETF QUIC packets separately in the client

This commit is contained in:
Marten Seemann 2018-05-07 13:24:43 +09:00
parent b93827ca60
commit 683b5823e4
4 changed files with 61 additions and 35 deletions

View file

@ -580,6 +580,7 @@ var _ = Describe("Client", func() {
SrcConnectionID: connID,
PacketNumber: 1,
PacketNumberLen: 1,
Version: versionIETFFrames,
}).Write(buf, protocol.PerspectiveServer, versionIETFFrames)
Expect(err).ToNot(HaveOccurred())
err = cl.handlePacket(addr, buf.Bytes())