protocol-http2 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cfef5536c96fa708a454cf7ad87f67b1fc85343bcb14e9177934293db17d56a
4
- data.tar.gz: c72a881f3799f96ff95ece5d2f9296e18b85f391f209d57e2dfa2b9aad3b039d
3
+ metadata.gz: 664e6edd764651712185896646bf4b29a0285901d5386794a194c46510b65a49
4
+ data.tar.gz: 71348b749da8a0e42becff14f0a8e70ce09f8ddd0bcc0e46d7a8e7562fbf6f10
5
5
  SHA512:
6
- metadata.gz: 946cd12f1cc75abfaaaa0fbe8e16c320a08916d4095e4bec6d9947b55f18733f620ccc16bbd5b25d1f54d2c9f0cfc8693760a8f40f8ff26b69299dec91ea4c45
7
- data.tar.gz: f92e2446022eba402f266dca5c257791816cb205abafba6fa28c4d631ff0e08e9bf684d4d44aaf92d59f083fbca72f7608bc952f750d7c0a8fe13a4351c6134e
6
+ metadata.gz: 56403ed4ecfeba6e0badcb310c83d5477a13a47e33542d663e245b6ffb0b943b02968746681f23b9c330244b9564ce912e856a8fea7065b7553a820988a839e2
7
+ data.tar.gz: 01bd6caa3e90393ccadc36f1103f80fa026bb1ce52fdf73ed83bd8fae7774bab95e7b69eb21675c832c38f99b876fd1eedb21b97e24e9dceb813d950822331b1
@@ -319,7 +319,7 @@ module Protocol
319
319
  end
320
320
 
321
321
  def receive_data(frame)
322
- consume_local_window(frame)
322
+ update_local_window(frame)
323
323
 
324
324
  if stream = @streams[frame.stream_id]
325
325
  stream.receive_data(frame)
@@ -56,7 +56,6 @@ module Protocol
56
56
 
57
57
  def update_local_window(frame)
58
58
  consume_local_window(frame)
59
-
60
59
  request_window_update
61
60
  end
62
61
 
@@ -400,7 +400,7 @@ module Protocol
400
400
  # DATA frames are subject to flow control and can only be sent when a stream is in the "open" or "half-closed (remote)" state. The entire DATA frame payload is included in flow control, including the Pad Length and Padding fields if present. If a DATA frame is received whose stream is not in "open" or "half-closed (local)" state, the recipient MUST respond with a stream error of type STREAM_CLOSED.
401
401
  def receive_data(frame)
402
402
  if @state == :open
403
- consume_local_window(frame)
403
+ update_local_window(frame)
404
404
 
405
405
  if frame.end_stream?
406
406
  @state = :half_closed_remote
@@ -408,7 +408,7 @@ module Protocol
408
408
 
409
409
  process_data(frame)
410
410
  elsif @state == :half_closed_local
411
- consume_local_window(frame)
411
+ update_local_window(frame)
412
412
 
413
413
  process_data(frame)
414
414
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP2
23
- VERSION = "0.9.0"
23
+ VERSION = "0.9.1"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams