forked from quic-go/quic-go
set offset in WindowUpdates based on read position and window increment
fixes #105
This commit is contained in:
@@ -138,7 +138,7 @@ func (s *stream) ReadByte() (byte, error) {
|
||||
}
|
||||
|
||||
func (s *stream) updateReceiveFlowControlWindow() {
|
||||
n := s.receiveFlowControlWindow + s.receiveFlowControlWindowIncrement
|
||||
n := s.readOffset + s.receiveFlowControlWindowIncrement
|
||||
s.receiveFlowControlWindow = n
|
||||
s.session.updateReceiveFlowControlWindow(s.streamID, n)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user