forked from quic-go/quic-go
only send BLOCKED frames if there is more data to send
This commit is contained in:
@@ -130,7 +130,6 @@ var _ = Describe("Stream", func() {
|
||||
mockSender.EXPECT().onHasStreamData(streamID).Times(2) // once for the Write, once for the Close
|
||||
mockFC.EXPECT().SendWindowSize().Return(protocol.MaxByteCount).AnyTimes()
|
||||
mockFC.EXPECT().AddBytesSent(protocol.ByteCount(6))
|
||||
mockFC.EXPECT().IsBlocked()
|
||||
err := str.CancelRead(1234)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
writeReturned := make(chan struct{})
|
||||
|
||||
Reference in New Issue
Block a user