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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 680080c7a69a5ed1afb2520f43a7e6335b0470cb972aa91cab6be7a3c2358240
4
- data.tar.gz: f7b3bad2356b04793de349d2c299fb64e855f243120a186dd2dc01906052e08a
3
+ metadata.gz: 3b022547ae1f667d447eacb064d19730d31172074f190b86918fbf1f98a815fd
4
+ data.tar.gz: 8ae5a803210cffae68a5742724e6eaf3dd3525151ad3a2a44f22dc8167dc6058
5
5
  SHA512:
6
- metadata.gz: 042dd35ecdf9b6b81fa4dcdd3e788346cc0389eec765783c587bc7cebdf74a7204dfc31ef8e2bbe644e5a417ea29dae4fb4f4134aac6c37ef7bb374d0229d3a3
7
- data.tar.gz: 45397ddea195960f4a1c253d5cac0028e17b2bfa3fbff6a9aa157f2244bbc5894d610346b98a4a0affe0921d0c627bc3d5db0c438c0a2bec792ea993365da870
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 < @remote_stream_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 < @remote_stream_id
451
+ id <= @remote_stream_id
449
452
  end
450
453
  end
451
454
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP2
23
- VERSION = "0.11.2"
23
+ VERSION = "0.11.3"
24
24
  end
25
25
  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.2
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.1.2
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.