async-http 0.100.0 → 0.101.0
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 +3 -0
- data/lib/async/http/version.rb +1 -1
- data/readme.md +4 -4
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: 397ffac9d60c7ff7d3524624cffdfb5105a2cdc1e7a540cc8b282824b5bf890a
|
|
4
|
+
data.tar.gz: fd2cc4a962f28ddb8cb79f4035315816b9a7dd5785e76494b764764f3dd51ef6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 771358b08bcf8ceba72af908b5b5f3d78be7a3751a7051d6350132bb9e942809054da7b2b205169df6eb9e26a49a873743b187df9d0a7d49bc43166db9769519
|
|
7
|
+
data.tar.gz: 998d6fcc02cf5b56f5883d6c26cf3e4a5ca009e2fa1234037c9c2fe4ccabc6262c9b6ede32778a98aabf5e1fd1f9ed3cdae7c9f8613b96338df8bf84ebd36b0c
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -161,6 +161,9 @@ module Async
|
|
|
161
161
|
# Do not remove this line or you will unleash the gods of concurrency hell.
|
|
162
162
|
task.yield
|
|
163
163
|
end
|
|
164
|
+
rescue ::Protocol::HTTP::RemoteError => error
|
|
165
|
+
Console.debug(self, "Remote endpoint disconnected!", exception: error)
|
|
166
|
+
return
|
|
164
167
|
rescue => error
|
|
165
168
|
# We store error (as a local variable) for later use in the ensure block.
|
|
166
169
|
raise
|
data/lib/async/http/version.rb
CHANGED
data/readme.md
CHANGED
|
@@ -16,6 +16,10 @@ Please see the [project documentation](https://socketry.github.io/async-http/) f
|
|
|
16
16
|
|
|
17
17
|
Please see the [project releases](https://socketry.github.io/async-http/releases/index) for all releases.
|
|
18
18
|
|
|
19
|
+
### v0.101.0
|
|
20
|
+
|
|
21
|
+
- Handle remote disconnects in `Async::HTTP::Protocol::HTTP1::Server#each` without reporting them as server failures.
|
|
22
|
+
|
|
19
23
|
### v0.100.0
|
|
20
24
|
|
|
21
25
|
- Added transport-neutral TLS configuration support to `Async::HTTP::Endpoint`.
|
|
@@ -55,10 +59,6 @@ Please see the [project releases](https://socketry.github.io/async-http/releases
|
|
|
55
59
|
|
|
56
60
|
- Fix response body leak in HTTP/2 server when stream is reset before `send_response` completes (e.g. client-side gRPC cancellation). The response body's `close` was never called, leaking any resources tied to body lifecycle (such as `rack.response_finished` callbacks and utilization metrics).
|
|
57
61
|
|
|
58
|
-
### v0.94.1
|
|
59
|
-
|
|
60
|
-
- Fix `defer_stop` usage in `HTTP1::Server`, improving server graceful shutdown behavior.
|
|
61
|
-
|
|
62
62
|
## See Also
|
|
63
63
|
|
|
64
64
|
- [benchmark-http](https://github.com/socketry/benchmark-http) — A benchmarking tool to report on web server concurrency.
|
data/releases.md
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.101.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -138,14 +138,14 @@ dependencies:
|
|
|
138
138
|
requirements:
|
|
139
139
|
- - "~>"
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
|
-
version: '0.
|
|
141
|
+
version: '0.41'
|
|
142
142
|
type: :runtime
|
|
143
143
|
prerelease: false
|
|
144
144
|
version_requirements: !ruby/object:Gem::Requirement
|
|
145
145
|
requirements:
|
|
146
146
|
- - "~>"
|
|
147
147
|
- !ruby/object:Gem::Version
|
|
148
|
-
version: '0.
|
|
148
|
+
version: '0.41'
|
|
149
149
|
- !ruby/object:Gem::Dependency
|
|
150
150
|
name: protocol-http2
|
|
151
151
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
|
Binary file
|