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

@ -653,8 +653,8 @@ var _ = Describe("Send Stream", func() {
It("informs the flow controller", func() {
mockFC.EXPECT().UpdateSendWindow(protocol.ByteCount(0x1337))
str.handleMaxStreamDataFrame(&wire.MaxStreamDataFrame{
StreamID: streamID,
ByteOffset: 0x1337,
StreamID: streamID,
MaximumStreamData: 0x1337,
})
})
@ -671,8 +671,8 @@ var _ = Describe("Send Stream", func() {
waitForWrite()
mockSender.EXPECT().onHasStreamData(streamID)
str.handleMaxStreamDataFrame(&wire.MaxStreamDataFrame{
StreamID: streamID,
ByteOffset: 42,
StreamID: streamID,
MaximumStreamData: 42,
})
// make sure the Write go routine returns
str.closeForShutdown(nil)