protocol-http2 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protocol/http2/connection.rb +1 -1
- data/lib/protocol/http2/push_promise_frame.rb +1 -1
- data/lib/protocol/http2/reset_stream_frame.rb +1 -1
- data/lib/protocol/http2/version.rb +1 -1
- data/lib/protocol/http2/window_update_frame.rb +9 -1
- data/protocol-http2.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bc103676e91753b4b44acb12c5eefdbb953ce40eababe8cd4a21ace86933b41
|
4
|
+
data.tar.gz: f2ced13b3ea70afd4db4727a1def5329b519cbd2a3c1e0f499a17cac90df37ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4669297dbc62043223d50bc8ac67a9a04b1c6bb945ea23eece1ee9eff6b415b1ab91d77e1d6430e8547bb080ba2eef33515a670775db567c63a0b3b61369989
|
7
|
+
data.tar.gz: 8302a54d91bf4930d271a858f09afa93566e9eaba16edc28053a24c37bad6629d759c8140f20239dddcda04228e5c996feb3a623c9fa5478c4a05c90183c017a
|
@@ -97,7 +97,15 @@ module Protocol
|
|
97
97
|
end
|
98
98
|
|
99
99
|
def unpack
|
100
|
-
super.
|
100
|
+
super.unpack1(FORMAT)
|
101
|
+
end
|
102
|
+
|
103
|
+
def read_payload(stream)
|
104
|
+
super
|
105
|
+
|
106
|
+
if @length != 4
|
107
|
+
raise FrameSizeError, "Invalid frame length: #{@length} != 4!"
|
108
|
+
end
|
101
109
|
end
|
102
110
|
|
103
111
|
def apply(connection)
|
data/protocol-http2.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "protocol-hpack", "~> 1.
|
21
|
+
spec.add_dependency "protocol-hpack", "~> 1.3"
|
22
22
|
spec.add_dependency "protocol-http", "~> 0.2"
|
23
23
|
|
24
24
|
spec.add_development_dependency "covered"
|
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.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: protocol-http
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|