rename StreamDataBlockedFrame.DataLimit to MaximumStreamData

This commit is contained in:
Marten Seemann 2020-07-02 16:28:23 +07:00
parent fa07078d81
commit cc340b2887
10 changed files with 31 additions and 31 deletions

View file

@ -242,8 +242,8 @@ func (s *sendStream) popNewOrRetransmittedStreamFrame(maxBytes protocol.ByteCoun
if sendWindow == 0 {
if isBlocked, offset := s.flowController.IsNewlyBlocked(); isBlocked {
s.sender.queueControlFrame(&wire.StreamDataBlockedFrame{
StreamID: s.streamID,
DataLimit: offset,
StreamID: s.streamID,
MaximumStreamData: offset,
})
return nil, false
}