async-http 0.58.0 → 0.59.2
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/async/http/protocol/http1/server.rb +7 -1
- data/lib/async/http/protocol/http2.rb +1 -1
- data/lib/async/http/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: d7c4b7f8203887b767aacfcdd3d8f6bb4840d4a7905095c8fdc013c6692fba18
|
4
|
+
data.tar.gz: 41d11eaa64f5915722bc1a33befaa52e0df3c4b30e25dc8167ed98d9c79e3d06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 239d3d5677cefb80937883482460f04b5069c60b46d87e9b5e5fe2fc0f0e9391ede1590f89d2a5801f94b703c2678900dcb53cbfdbd780185130500827f212f2
|
7
|
+
data.tar.gz: 2f6663a734a403f3c4a6f0ddaf9067586a52dde4f63715ce823162c28c89860ae62ff29b53248a20fa5d617c3f572a00a9c39738d3eb843b3beab6521e45e7cd
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -61,7 +61,12 @@ module Async
|
|
61
61
|
while request = next_request
|
62
62
|
response = yield(request, self)
|
63
63
|
body = response&.body
|
64
|
-
|
64
|
+
|
65
|
+
if @stream.nil? and body.nil?
|
66
|
+
# Full hijack.
|
67
|
+
return
|
68
|
+
end
|
69
|
+
|
65
70
|
begin
|
66
71
|
# If a response was generated, send it:
|
67
72
|
if response
|
@@ -110,6 +115,7 @@ module Async
|
|
110
115
|
# This ensures we yield at least once every iteration of the loop and allow other fibers to execute.
|
111
116
|
task.yield
|
112
117
|
rescue => error
|
118
|
+
raise
|
113
119
|
ensure
|
114
120
|
body&.close(error)
|
115
121
|
end
|
data/lib/async/http/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.59.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -52,7 +52,7 @@ cert_chain:
|
|
52
52
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
53
53
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
54
54
|
-----END CERTIFICATE-----
|
55
|
-
date: 2022-08-
|
55
|
+
date: 2022-08-26 00:00:00.000000000 Z
|
56
56
|
dependencies:
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: async
|
metadata.gz.sig
CHANGED
Binary file
|