lib/http/protocol/http2/priority_frame.rb in http-protocol-0.3.2 vs lib/http/protocol/http2/priority_frame.rb in http-protocol-0.4.0

- old
+ new

@@ -67,10 +67,10 @@ def apply(connection) connection.receive_priority(self) end - def read_payload(io) + def read_payload(stream) super if @length != 5 raise FrameSizeError, "Invalid frame length" end