send stream-level Blocked frames at the right time

fixes #110
This commit is contained in:
Marten Seemann 2016-05-19 11:53:51 +07:00
parent f751566f00
commit 9930de68c8
8 changed files with 229 additions and 48 deletions

View file

@ -28,7 +28,7 @@ func (m *mockStreamHandler) queueStreamFrame(f *frames.StreamFrame) error {
return nil
}
func (m *mockStreamHandler) streamBlocked(streamID protocol.StreamID) {
func (m *mockStreamHandler) streamBlocked(streamID protocol.StreamID, byteOffset protocol.ByteCount) {
m.receivedBlockedCalled = true
m.receivedBlockedForStream = streamID
}