protocol-http2 0.13.0 → 0.13.1

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: 68ab10b4b60dee6916f40c2f3d2c291f7358371b76a323527e29dc010a8dd250
4
- data.tar.gz: 1a7d0c6e216b4c01ee49bf3052da5bd66cef3891ef1c5c321aa19443d1f3ba07
3
+ metadata.gz: 62e14f9b0bcdddd080367d473e9241575553bab2bb4839c87d8151ff64e0c3fa
4
+ data.tar.gz: 6683dd38d00845b4548271032bd3d427c563f4440b72bbec7a4f1083ae850cfc
5
5
  SHA512:
6
- metadata.gz: 1963aa287377f7e242a6ac386a2a05c04e8c392b0bedbccd0b1d55a5dc88fb7ac0e26a3b7fb6bededb13ef52d27ee5576c5a9ad8479b8f918abb853e28e3802a
7
- data.tar.gz: 60c3428b7b58c20d43e1486bec532d848cc3cc84de4a748c01963ad58ad93b51c0dfac08c999123ca20240f8e6134ce7a45b003265d0b38ceed0cb57fb7a7a06
6
+ metadata.gz: b2e9e50a727eb8e7139b498e3accd1b63bc96d4ba30f534add1052f9ea45b5d5a42f24b7efc44a7edf97b473ec13433a98b3a52af77582033d7953e9907aa3da
7
+ data.tar.gz: ab63ce654af74f7d13373a9510e8fb070fd8ef031bc6dbae20295a9022a6ed93c7cf7c7db1ef8077caabca14c10cc42ecea48579b3df44e0192de1673d47fd5b
@@ -110,10 +110,11 @@ module Protocol
110
110
 
111
111
  # Close the underlying framer and all streams.
112
112
  def close(error = nil)
113
- @framer.close
114
- # @framer = nil
115
-
113
+ # The underlying socket may already be closed by this point.
116
114
  @streams.each_value{|stream| stream.close(error)}
115
+
116
+ @framer.close
117
+ @framer = nil
117
118
  end
118
119
 
119
120
  def encode_headers(headers, buffer = String.new.b)
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP2
23
- VERSION = "0.13.0"
23
+ VERSION = "0.13.1"
24
24
  end
25
25
  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.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-01 00:00:00.000000000 Z
11
+ date: 2020-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protocol-hpack
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
- rubygems_version: 3.0.6
153
+ rubygems_version: 3.1.2
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: A low level implementation of the HTTP/2 protocol.