lib/http/protocol/http2/settings_frame.rb in http-protocol-0.3.2 vs lib/http/protocol/http2/settings_frame.rb in http-protocol-0.4.0
- old
+ new
@@ -216,10 +216,10 @@
def apply(connection)
connection.receive_settings(self)
end
- def read_payload(io)
+ def read_payload(stream)
super
if @stream_id != 0
raise ProtocolError, "Settings apply to connection only, but stream_id was given"
end