forked from quic-go/quic-go
send a RstStreamFrame when receiving a RstStreamFrame on an open stream
fixes #378
This commit is contained in:
@@ -62,7 +62,7 @@ func (m *mockFlowControlHandler) AddBytesRead(streamID protocol.StreamID, n prot
|
||||
}
|
||||
|
||||
func (m *mockFlowControlHandler) ResetStream(streamID protocol.StreamID, byteOffset protocol.ByteCount) (protocol.ByteCount, error) {
|
||||
return 0, m.UpdateHighestReceived(streamID, byteOffset)
|
||||
return m.bytesSent, m.UpdateHighestReceived(streamID, byteOffset)
|
||||
}
|
||||
|
||||
func (m *mockFlowControlHandler) UpdateHighestReceived(streamID protocol.StreamID, byteOffset protocol.ByteCount) error {
|
||||
|
||||
Reference in New Issue
Block a user