protocol-http2 0.8.2 → 0.9.0

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: 802763909c7326fe42e70a217a13a31828760c673868b3b7fbcd2e99174e0423
4
- data.tar.gz: 314093df7a84ae72929af8a1ae25d1b6f8363c1b94ee132196ad6e076b03e0f5
3
+ metadata.gz: 0cfef5536c96fa708a454cf7ad87f67b1fc85343bcb14e9177934293db17d56a
4
+ data.tar.gz: c72a881f3799f96ff95ece5d2f9296e18b85f391f209d57e2dfa2b9aad3b039d
5
5
  SHA512:
6
- metadata.gz: '09d0303e8166c468719bad98aa6d4d2f61d412317ef05f8c55d72a5814f7980b36a5d9f61ee85d7a003eada87d864bac81ad28d1a244e2ed95d431c20225c09a'
7
- data.tar.gz: 046fe8e2b1d1f3a85013ebf188975d004a229491fc7ea93c9a46f18c68fb53be1d7876564f42663d292e88bd204d1aa81820724e732bb784b106e526a0b060d1
6
+ metadata.gz: 946cd12f1cc75abfaaaa0fbe8e16c320a08916d4095e4bec6d9947b55f18733f620ccc16bbd5b25d1f54d2c9f0cfc8693760a8f40f8ff26b69299dec91ea4c45
7
+ data.tar.gz: f92e2446022eba402f266dca5c257791816cb205abafba6fa28c4d631ff0e08e9bf684d4d44aaf92d59f083fbca72f7608bc952f750d7c0a8fe13a4351c6134e
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Provides a low-level implementation of the HTTP/2 protocol.
4
4
 
5
- [![Build Status](https://secure.travis-ci.com/socketry/protocol-http2.svg)](http://travis-ci.com/socketry/protocol-http2)
5
+ [![Build Status](https://travis-ci.com/socketry/protocol-http2.svg?branch=master)](https://travis-ci.com/socketry/protocol-http2?branch=master)
6
6
 
7
7
  ## Installation
8
8
 
@@ -54,11 +54,18 @@ module Protocol
54
54
  end
55
55
  end
56
56
 
57
+ def update_local_window(frame)
58
+ consume_local_window(frame)
59
+
60
+ request_window_update
61
+ end
62
+
57
63
  def consume_local_window(frame)
58
64
  amount = frame.length
59
-
60
65
  @local_window.consume(amount)
61
-
66
+ end
67
+
68
+ def request_window_update
62
69
  if @local_window.limited?
63
70
  self.send_window_update(@local_window.used)
64
71
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP2
23
- VERSION = "0.8.2"
23
+ VERSION = "0.9.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-18 00:00:00.000000000 Z
11
+ date: 2019-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protocol-hpack