We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c74b98 commit 6b19bfaCopy full SHA for 6b19bfa
lib/protocol/http2/connection.rb
@@ -320,6 +320,8 @@ def receive_data(frame)
320
321
if stream = @streams[frame.stream_id]
322
stream.receive_data(frame)
323
+ elsif closed_stream_id?(frame.stream_id)
324
+ # This can occur if one end sent a stream reset, while the other end was sending a data frame. It's mostly harmless.
325
else
326
raise ProtocolError, "Cannot receive data for stream id #{frame.stream_id}"
327
end
0 commit comments