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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plum/flow_control.rb b/lib/plum/flow_control.rb
index f01905a..d1903a7 100644
--- a/lib/plum/flow_control.rb
+++ b/lib/plum/flow_control.rb
@@ -82,8 +82,8 @@ module Plum
end
r_wsi = frame.payload.uint32
- r = r_wsi >> 31
- wsi = r_wsi & ~(1 << 31)
+ # r = r_wsi >> 31 # currently not used
+ wsi = r_wsi # & ~(1 << 31)
if wsi == 0
local_error = (Connection === self) ? ConnectionError : StreamError