async-http 0.95.0 → 0.95.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/async/http/protocol/http2/connection.rb +10 -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 +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: f754b26e9ad6bd266ee038889153c4636c277635c8c8e3da73e6af86b1f57a21
|
|
4
|
+
data.tar.gz: 10cbf4e74b321e8883532a54b35f5b78b196263cdf7973f9845e86659d32100c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99c91cd69b7e4d66256f1a88ddd92833eac62b246be9bb44dc93fff4a897a6baa01e6d8023e6622cffb372aecba265af9be31576a76740727900629075299cb2
|
|
7
|
+
data.tar.gz: 7cb339f333fc8b5e63c1ebd088ee724431456c8a00ffd1e88b1f7157c3737f718f38d3b37f763cbd91fa8158a0c69659756313b2ebb807f9e6105dbc649eed56
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -44,6 +44,16 @@ module Async
|
|
|
44
44
|
@write_frame_guard.acquire(&block)
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
+
# Write a single frame, deferring stop until the frame is written.
|
|
48
|
+
def write_frame(frame)
|
|
49
|
+
Task.current.defer_stop{super}
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Write multiple frames, deferring stop until the frames are written.
|
|
53
|
+
def write_frames
|
|
54
|
+
Task.current.defer_stop{super}
|
|
55
|
+
end
|
|
56
|
+
|
|
47
57
|
# @returns [String] A string representation of this connection.
|
|
48
58
|
def to_s
|
|
49
59
|
"\#<#{self.class} #{@streams.count} active streams>"
|
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.95.1
|
|
20
|
+
|
|
21
|
+
- Fix handling of reset stream causing complete connection failure.
|
|
22
|
+
|
|
19
23
|
### v0.95.0
|
|
20
24
|
|
|
21
25
|
- Use `Protocol::HTTP::RefusedError` for safe retry of requests not processed by the server, including non-idempotent methods like PUT.
|
|
@@ -55,10 +59,6 @@ Please see the [project releases](https://socketry.github.io/async-http/releases
|
|
|
55
59
|
|
|
56
60
|
- [Support custom protocols with options](https://socketry.github.io/async-http/releases/index#support-custom-protocols-with-options)
|
|
57
61
|
|
|
58
|
-
### v0.87.0
|
|
59
|
-
|
|
60
|
-
- [Unify HTTP/1 and HTTP/2 `CONNECT` semantics](https://socketry.github.io/async-http/releases/index#unify-http/1-and-http/2-connect-semantics)
|
|
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
metadata.gz.sig
CHANGED
|
Binary file
|