forked from quic-go/quic-go
handle WINDOW_UPDATEs for streams and connection separately
In IETF QUIC, stream 0 is a valid stream ID, and is not used to encode WINDOW_UPDATEs for the connection any more.
This commit is contained in:
@@ -24,5 +24,6 @@ type FlowControlManager interface {
|
||||
AddBytesSent(streamID protocol.StreamID, n protocol.ByteCount) error
|
||||
SendWindowSize(streamID protocol.StreamID) (protocol.ByteCount, error)
|
||||
RemainingConnectionWindowSize() protocol.ByteCount
|
||||
UpdateWindow(streamID protocol.StreamID, offset protocol.ByteCount) (bool, error)
|
||||
UpdateStreamWindow(streamID protocol.StreamID, offset protocol.ByteCount) (bool, error)
|
||||
UpdateConnectionWindow(offset protocol.ByteCount) bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user