lib/http/protocol/http2/server.rb in http-protocol-0.10.0 vs lib/http/protocol/http2/server.rb in http-protocol-0.10.1
- old
+ new
@@ -26,10 +26,10 @@
class Server < Connection
def initialize(framer)
super(framer, 2)
end
- def read_connection_preface(settings)
+ def read_connection_preface(settings = [])
if @state == :new
@framer.read_connection_preface
send_settings(settings)