diff options
Diffstat (limited to 'lib/plum/client/connection.rb')
-rw-r--r-- | lib/plum/client/connection.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/plum/client/connection.rb b/lib/plum/client/connection.rb index 8721fb5..26e53b3 100644 --- a/lib/plum/client/connection.rb +++ b/lib/plum/client/connection.rb @@ -11,7 +11,6 @@ module Plum end # Create a new stream for HTTP request. - # @param args [Hash] the argument for Stream.new def open_stream next_id = @max_stream_id + (@max_stream_id.even? ? 1 : 2) stream(next_id) |