forked from quic-go/quic-go
only send BLOCKED frames if there is more data to send
This commit is contained in:
@@ -284,7 +284,7 @@ var _ = Describe("Stream Flow controller", func() {
|
||||
controller.AddBytesSent(50)
|
||||
blocked, _ := controller.connection.IsNewlyBlocked()
|
||||
Expect(blocked).To(BeTrue())
|
||||
Expect(controller.IsBlocked()).To(BeFalse())
|
||||
Expect(controller.IsNewlyBlocked()).To(BeFalse())
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user