don't enqueue stream for sending on reordered MAX_STREAM_DATA frames (#4269)

This commit is contained in:
Marten Seemann
2024-02-03 13:02:13 +07:00
committed by GitHub
parent 07ec3245bd
commit 198de32ef6
7 changed files with 47 additions and 22 deletions

View File

@@ -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)))
})