rename MaxStreamDataFrame.ByteOffset to MaximumStreamData

This commit is contained in:
Marten Seemann 2020-07-02 16:24:57 +07:00
parent f4519cfd32
commit 5466de6565
14 changed files with 43 additions and 43 deletions

View file

@ -430,7 +430,7 @@ func (s *sendStream) handleMaxStreamDataFrame(frame *wire.MaxStreamDataFrame) {
hasStreamData := s.dataForWriting != nil || s.nextFrame != nil
s.mutex.Unlock()
s.flowController.UpdateSendWindow(frame.ByteOffset)
s.flowController.UpdateSendWindow(frame.MaximumStreamData)
if hasStreamData {
s.sender.onHasStreamData(s.streamID)
}