mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 04:07:35 +03:00
rename MaxStreamDataFrame.ByteOffset to MaximumStreamData
This commit is contained in:
parent
f4519cfd32
commit
5466de6565
14 changed files with 43 additions and 43 deletions
|
@ -36,8 +36,8 @@ var _ = Describe("Window Update Queue", func() {
|
|||
q.AddStream(3)
|
||||
q.AddStream(1)
|
||||
q.QueueAll()
|
||||
Expect(queuedFrames).To(ContainElement(&wire.MaxStreamDataFrame{StreamID: 1, ByteOffset: 10}))
|
||||
Expect(queuedFrames).To(ContainElement(&wire.MaxStreamDataFrame{StreamID: 3, ByteOffset: 30}))
|
||||
Expect(queuedFrames).To(ContainElement(&wire.MaxStreamDataFrame{StreamID: 1, MaximumStreamData: 10}))
|
||||
Expect(queuedFrames).To(ContainElement(&wire.MaxStreamDataFrame{StreamID: 3, MaximumStreamData: 30}))
|
||||
})
|
||||
|
||||
It("deletes the entry after getting the MAX_STREAM_DATA frame", func() {
|
||||
|
@ -106,7 +106,7 @@ var _ = Describe("Window Update Queue", func() {
|
|||
q.AddStream(10)
|
||||
q.QueueAll()
|
||||
Expect(queuedFrames).To(Equal([]wire.Frame{
|
||||
&wire.MaxStreamDataFrame{StreamID: 10, ByteOffset: 200},
|
||||
&wire.MaxStreamDataFrame{StreamID: 10, MaximumStreamData: 200},
|
||||
}))
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue