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 +4 -4
- data/README.md +1 -1
- data/lib/protocol/http2/flow_control.rb +9 -2
- data/lib/protocol/http2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cfef5536c96fa708a454cf7ad87f67b1fc85343bcb14e9177934293db17d56a
|
4
|
+
data.tar.gz: c72a881f3799f96ff95ece5d2f9296e18b85f391f209d57e2dfa2b9aad3b039d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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://
|
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
|
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.
|
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-
|
11
|
+
date: 2019-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protocol-hpack
|