protocol-http2 0.19.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/protocol/http2/connection.rb +6 -6
- data/lib/protocol/http2/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9fb7df701ecc5c31e840235686d8bf4a512d07d9ee86683757c674e57f5c45d5
|
|
4
|
+
data.tar.gz: 76081def8efb7a62eecb61927ccc1bb98add213ba90e57862c38775b1d7be6a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef1d366a3b200bee1f997f13b5ec39a6ca033bde01b634737fe246005607ee97bb2c188b7afad8fef8bb991e246b7440bc5e2a805c20d189a94a7fc82b9d83ea
|
|
7
|
+
data.tar.gz: '03609bab9cbb8825443045dd63b3a7933c77389b1768d18262a8c4dbf3601273f5fe52c3c8fc69a3f3328dcd73ad0d283b0d20fbcaa9bcc81b1fb55a585912bf'
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -215,20 +215,20 @@ module Protocol
|
|
|
215
215
|
def write_frame(frame)
|
|
216
216
|
synchronize do
|
|
217
217
|
@framer.write_frame(frame)
|
|
218
|
+
|
|
219
|
+
# I tried moving this outside the synchronize block but it caused a deadlock.
|
|
220
|
+
@framer.flush
|
|
218
221
|
end
|
|
219
|
-
|
|
220
|
-
# The IO is already synchronized, and we don't want additional contention.
|
|
221
|
-
@framer.flush
|
|
222
222
|
end
|
|
223
223
|
|
|
224
224
|
def write_frames
|
|
225
225
|
if @framer
|
|
226
226
|
synchronize do
|
|
227
227
|
yield @framer
|
|
228
|
+
|
|
229
|
+
# See note above.
|
|
230
|
+
@framer.flush
|
|
228
231
|
end
|
|
229
|
-
|
|
230
|
-
# See above note.
|
|
231
|
-
@framer.flush
|
|
232
232
|
else
|
|
233
233
|
raise EOFError, "Connection closed!"
|
|
234
234
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|