forked from quic-go/quic-go
always queue window updates when data is being read
There's no need to have a separate call in the flow controller interface for this.
This commit is contained in:
@@ -10,7 +10,6 @@ type flowController interface {
|
||||
// for receiving
|
||||
AddBytesRead(protocol.ByteCount)
|
||||
GetWindowUpdate() protocol.ByteCount // returns 0 if no update is necessary
|
||||
MaybeQueueWindowUpdate() // queues a window update, if necessary
|
||||
IsNewlyBlocked() (bool, protocol.ByteCount)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user