mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
implement Writing of StopWaitingFrames
This commit is contained in:
parent
bf7875426a
commit
47d7f98383
4 changed files with 70 additions and 14 deletions
|
@ -23,7 +23,7 @@ var _ = Describe("Packet unpacker", func() {
|
|||
BeforeEach(func() {
|
||||
aead = &crypto.NullAEAD{}
|
||||
hdr = &PublicHeader{
|
||||
PacketNumber: 1,
|
||||
PacketNumber: 10,
|
||||
PacketNumberLen: 1,
|
||||
}
|
||||
hdrBin = []byte{0x04, 0x4c, 0x01}
|
||||
|
@ -150,8 +150,8 @@ var _ = Describe("Packet unpacker", func() {
|
|||
Expect(err).ToNot(HaveOccurred())
|
||||
Expect(packet.frames).To(Equal([]frames.Frame{
|
||||
&frames.StopWaitingFrame{
|
||||
Entropy: 0xA4,
|
||||
LeastUnackedDelta: 0x03,
|
||||
Entropy: 0xA4,
|
||||
LeastUnacked: 7,
|
||||
},
|
||||
}))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue