Method: Protocol::HTTP2::Connection#update_local_settings

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

#update_local_settings(changes) ⇒ Object



245
246
247
248
249
250
251
252
253
# File 'lib/protocol/http2/connection.rb', line 245

def update_local_settings(changes)
  capacity = @local_settings.initial_window_size
  
  @streams.each_value do |stream|
    stream.local_window.capacity = capacity
  end
  
  @decoder.table_size = @local_settings.header_table_size
end