protocol-http2 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/http2/request.rb +1 -1
- data/lib/protocol/http2/connection.rb +1 -1
- data/lib/protocol/http2/flow_control.rb +1 -1
- 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: 104ac87c873518de9695194a3d54e441197f8d5712764a3b6247426c4db26465
|
4
|
+
data.tar.gz: ef13f991407b5da97335b7086dce14f0231088212d76afe2dd6ba38cd4260371
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4be1376da392184941246a2e2714e45bfa2a677055bd9902b3d352522446350cb751618a028490e7fdccc02f152bf94f28f07dc49d69b679311358721df3db6c
|
7
|
+
data.tar.gz: efdd055aa0ac275acc07eb8e8eece5f2287cb7286cc572af72c867c825b53414cd35061cb5cf1a0f77a6fe7d24d1527cfd499caed3c2ba5e464ea61398100aa7
|
data/examples/http2/request.rb
CHANGED
@@ -379,7 +379,7 @@ module Protocol
|
|
379
379
|
raise ProtocolError, "Invalid stream id: #{stream_id} <= #{@remote_stream_id}!"
|
380
380
|
end
|
381
381
|
|
382
|
-
if self.active_streams.
|
382
|
+
if self.active_streams.size < self.maximum_concurrent_streams
|
383
383
|
stream = accept_stream(stream_id)
|
384
384
|
@remote_stream_id = stream_id
|
385
385
|
|
@@ -116,7 +116,7 @@ module Protocol
|
|
116
116
|
if !self.window_updated(size) and children = self.children
|
117
117
|
children = children.values.sort_by(&:weight)
|
118
118
|
|
119
|
-
# This must always be at least >= `children.
|
119
|
+
# This must always be at least >= `children.size`, since stream weight can't be 0.
|
120
120
|
total = children.sum(&:weight)
|
121
121
|
|
122
122
|
children.each do |child|
|
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.9.
|
4
|
+
version: 0.9.5
|
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-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protocol-hpack
|