Method: Protocol::HTTP2::Connection#update_remote_settings

Defined in:
lib/protocol/http2/connection.rb

#update_remote_settings(changes) ⇒ Object



255
256
257
258
259
260
261
262
263
# File 'lib/protocol/http2/connection.rb', line 255

def update_remote_settings(changes)
	capacity = @remote_settings.initial_window_size
	
	@streams.each_value do |stream|
		stream.remote_window.capacity = capacity
	end
	
	@encoder.table_size = @remote_settings.header_table_size
end