lib/http/protocol/http2/flow_control.rb in http-protocol-0.6.0 vs lib/http/protocol/http2/flow_control.rb in http-protocol-0.6.1

- old
+ new

@@ -64,15 +64,16 @@ frame = WindowUpdateFrame.new(self.id) frame.pack window_increment write_frame(frame) - @local_window.used -= window_increment + @local_window.expand(window_increment) end def receive_window_update(frame) was_full = @remote_window.full? + # puts "expand remote_window=#{@remote_window} by #{frame.unpack}" @remote_window.expand(frame.unpack) self.window_updated if was_full end