Skip to content

Commit

Permalink
Add better documentation for maximum_concurrent_streams.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 9, 2024
1 parent 27191f0 commit 191c31f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/protocol/http2/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def maximum_frame_size
@remote_settings.maximum_frame_size
end

# The maximum number of concurrent streams that this connection can initiate:
# The maximum number of concurrent streams that this connection can initiate. This is a setting that can be changed by the remote peer.
#
# It is not the same as the number of streams that can be accepted by the connection. The number of streams that can be accepted is determined by the local settings, and the number of streams that can be initiated is determined by the remote settings.
def maximum_concurrent_streams
@remote_settings.maximum_concurrent_streams
end
Expand Down

0 comments on commit 191c31f

Please sign in to comment.