protocol-http2 0.9.6 → 0.9.7
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/stream.rb +3 -3
- 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: 585d6a3435b1d498dc310e46ca8f52fd8e1cd37471409b8c9da6cf2f467aaa69
|
4
|
+
data.tar.gz: d1d1d8cbf77af69ff83d112bafe79fbf786ad24552a03e8af96bfcfeedf9752a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb7a4bc6c1eb7f0c26ce9fc570aa2cfe5879114c5bf305a6abb8cd20171a31d142c597ac33c28994c3740f4df84ba2a0f5efe7529c8bd1ae7272084fba3a4a44
|
7
|
+
data.tar.gz: effc253ab1ddf6b60f8a8cc152cdc73b6be3c07c7e09bd5a0dd0bcb81856fddbd5c35ca0ee88a8c7c8a280738789c81c700dac8ebfdc70be5159e0e98f0b292a
|
@@ -290,15 +290,15 @@ module Protocol
|
|
290
290
|
return frame
|
291
291
|
end
|
292
292
|
|
293
|
-
def send_data(*
|
293
|
+
def send_data(*arguments, **options)
|
294
294
|
if @state == :open
|
295
|
-
frame = write_data(*
|
295
|
+
frame = write_data(*arguments, **options)
|
296
296
|
|
297
297
|
if frame.end_stream?
|
298
298
|
@state = :half_closed_local
|
299
299
|
end
|
300
300
|
elsif @state == :half_closed_remote
|
301
|
-
frame = write_data(*
|
301
|
+
frame = write_data(*arguments, **options)
|
302
302
|
|
303
303
|
if frame.end_stream?
|
304
304
|
close!
|