protocol-http2 0.11.2 → 0.11.3
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 +5 -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: 3b022547ae1f667d447eacb064d19730d31172074f190b86918fbf1f98a815fd
|
4
|
+
data.tar.gz: 8ae5a803210cffae68a5742724e6eaf3dd3525151ad3a2a44f22dc8167dc6058
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 429cf7a735c1a99a525cb33ad0e0ffbf0b4e8b52c776bfa365bff6095f585e0cde7574698521153ab068ecca5e57ccde04375a7265b2caee47309cf4b7f5f32d
|
7
|
+
data.tar.gz: 29a1f37e144a4713471a73df47f3c2b56b32bd3ef79b83e2da874a77d6a5f28eb8f3800d9208abc93a8d73cb78489e4d8ab18f75602e1f82b4059141bf9457b6
|
@@ -41,8 +41,11 @@ module Protocol
|
|
41
41
|
@dependencies = {0 => @dependency}
|
42
42
|
|
43
43
|
@framer = framer
|
44
|
+
|
44
45
|
# The next stream id to use:
|
45
46
|
@local_stream_id = local_stream_id
|
47
|
+
|
48
|
+
# The biggest remote stream id seen thus far:
|
46
49
|
@remote_stream_id = 0
|
47
50
|
|
48
51
|
@local_settings = PendingSettings.new
|
@@ -438,14 +441,14 @@ module Protocol
|
|
438
441
|
if @local_stream_id.even?
|
439
442
|
id < @local_stream_id
|
440
443
|
else
|
441
|
-
id
|
444
|
+
id <= @remote_stream_id
|
442
445
|
end
|
443
446
|
elsif id.odd?
|
444
447
|
# Client-initiated streams are odd.
|
445
448
|
if @local_stream_id.odd?
|
446
449
|
id < @local_stream_id
|
447
450
|
else
|
448
|
-
id
|
451
|
+
id <= @remote_stream_id
|
449
452
|
end
|
450
453
|
end
|
451
454
|
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.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
rubygems_version: 3.
|
156
|
+
rubygems_version: 3.0.6
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: A low level implementation of the HTTP/2 protocol.
|