forked from quic-go/quic-go
don't enqueue stream for sending on reordered MAX_STREAM_DATA frames (#4269)
This commit is contained in:
@@ -59,9 +59,9 @@ var _ = Describe("Base Flow controller", func() {
|
||||
})
|
||||
|
||||
It("does not decrease the flow control window", func() {
|
||||
controller.UpdateSendWindow(20)
|
||||
Expect(controller.UpdateSendWindow(20)).To(BeTrue())
|
||||
Expect(controller.sendWindowSize()).To(Equal(protocol.ByteCount(20)))
|
||||
controller.UpdateSendWindow(10)
|
||||
Expect(controller.UpdateSendWindow(10)).To(BeFalse())
|
||||
Expect(controller.sendWindowSize()).To(Equal(protocol.ByteCount(20)))
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user