rename DataBlockedFrame.DataLimit to MaximumData

This commit is contained in:
Marten Seemann 2020-07-02 16:27:05 +07:00
parent 5466de6565
commit fa07078d81
11 changed files with 18 additions and 18 deletions

View file

@ -73,7 +73,7 @@ var _ = Describe("Framer", func() {
It("adds the right number of frames", func() {
maxSize := protocol.ByteCount(1000)
bf := &wire.DataBlockedFrame{DataLimit: 0x1337}
bf := &wire.DataBlockedFrame{MaximumData: 0x1337}
bfLen := bf.Length(version)
numFrames := int(maxSize / bfLen) // max number of frames that fit into maxSize
for i := 0; i < numFrames+1; i++ {