aboutsummaryrefslogtreecommitdiffstats
path: root/lib/plum/flow_control.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plum/flow_control.rb')
-rw-r--r--lib/plum/flow_control.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/plum/flow_control.rb b/lib/plum/flow_control.rb
index 251507d..2a93341 100644
--- a/lib/plum/flow_control.rb
+++ b/lib/plum/flow_control.rb
@@ -5,7 +5,6 @@ module Plum
attr_reader :send_remaining_window, :recv_remaining_window
# Sends frame respecting inner-stream flow control.
- #
# @param frame [Frame] The frame to be sent.
def send(frame)
if frame.type == :data
@@ -25,7 +24,6 @@ module Plum
end
# Increases receiving window size. Sends WINDOW_UPDATE frame to the peer.
- #
# @param wsi [Integer] The amount to increase receiving window size. The legal range is 1 to 2^32-1.
def window_update(wsi)
@recv_remaining_window += wsi