rename MaxDataFrame.ByteOffset to MaximumData

This commit is contained in:
Marten Seemann 2020-07-02 16:23:25 +07:00
parent 00f8028e52
commit f4519cfd32
16 changed files with 32 additions and 32 deletions

View file

@ -1143,7 +1143,7 @@ func (s *session) handleStreamFrame(frame *wire.StreamFrame) error {
}
func (s *session) handleMaxDataFrame(frame *wire.MaxDataFrame) {
s.connFlowController.UpdateSendWindow(frame.ByteOffset)
s.connFlowController.UpdateSendWindow(frame.MaximumData)
}
func (s *session) handleMaxStreamDataFrame(frame *wire.MaxStreamDataFrame) error {