forked from quic-go/quic-go
fix splitting of STREAM frames for IETF QUIC
Move splitting of STREAM frames from the quic package to the wire package.
This commit is contained in:
@@ -47,7 +47,7 @@ var _ = Describe("STREAM_ID_BLOCKED frame", func() {
|
||||
|
||||
It("has the correct min length", func() {
|
||||
frame := StreamIDBlockedFrame{StreamID: 0x123456}
|
||||
Expect(frame.MinLength(0)).To(Equal(protocol.ByteCount(1) + utils.VarIntLen(0x123456)))
|
||||
Expect(frame.Length(0)).To(Equal(protocol.ByteCount(1) + utils.VarIntLen(0x123456)))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user