protocol-http2 0.13.1 → 0.13.2
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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3804b632aed95639b5419e3c820cabec9215529857cd79677c18205c422b414b
|
4
|
+
data.tar.gz: 70115165178dcefc7f051b0b942c888f671a7dfca234ffea84b5ff777c664630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f90028dd959770c9c0bd7ab87b7ba90c0dd8f606b789e5945e1a3a83a093563aae90ef6d040e51e79f56c36b0a0a84963981eff4c7f5f7f506a726aa458f5c6
|
7
|
+
data.tar.gz: 879811513eae58d31d6e9b547e2c19cac2796b8248397b32c91f62714a6169853f6768925a1606620404c2f56dbe6834b7330f5b1399b5b2cc34c1c27ef91e2a
|
@@ -112,9 +112,12 @@ module Protocol
|
|
112
112
|
def close(error = nil)
|
113
113
|
# The underlying socket may already be closed by this point.
|
114
114
|
@streams.each_value{|stream| stream.close(error)}
|
115
|
+
@streams.clear
|
115
116
|
|
116
|
-
@framer
|
117
|
-
|
117
|
+
if @framer
|
118
|
+
@framer.close
|
119
|
+
@framer = nil
|
120
|
+
end
|
118
121
|
end
|
119
122
|
|
120
123
|
def encode_headers(headers, buffer = String.new.b)
|