lib/http/protocol/http2/stream.rb in http-protocol-0.6.0 vs lib/http/protocol/http2/stream.rb in http-protocol-0.6.1

- old
+ new

@@ -81,11 +81,11 @@ @connection.streams[@id] = self @state = :idle @priority = nil - @local_window = connection.local_window.dup - @remote_window = connection.remote_window.dup + @local_window = Window.new(connection.local_settings.initial_window_size) + @remote_window = Window.new(connection.remote_settings.initial_window_size) @headers = nil @data = nil end