lib/http/protocol/http2/client.rb in http-protocol-0.10.0 vs lib/http/protocol/http2/client.rb in http-protocol-0.10.1
- old
+ new
@@ -26,10 +26,10 @@
class Client < Connection
def initialize(framer)
super(framer, 1)
end
- def send_connection_preface(settings = nil)
+ def send_connection_preface(settings = [])
if @state == :new
@framer.write_connection_preface
send_settings(settings)