diff options
Diffstat (limited to 'lib/plum/connection.rb')
-rw-r--r-- | lib/plum/connection.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plum/connection.rb b/lib/plum/connection.rb index 0268487..0ba5989 100644 --- a/lib/plum/connection.rb +++ b/lib/plum/connection.rb @@ -26,8 +26,8 @@ module Plum def initialize(writer, local_settings = {}) @state = :open @writer = writer - @local_settings = Hash.new {|hash, key| DEFAULT_SETTINGS[key] }.merge!(local_settings) - @remote_settings = Hash.new {|hash, key| DEFAULT_SETTINGS[key] } + @local_settings = Hash.new { |hash, key| DEFAULT_SETTINGS[key] }.merge!(local_settings) + @remote_settings = Hash.new { |hash, key| DEFAULT_SETTINGS[key] } @buffer = String.new @streams = {} @hpack_decoder = HPACK::Decoder.new(@local_settings[:header_table_size]) |