async-http 0.97.0 → 0.98.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/client.rb +2 -2
- 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: 8e917b21ce0a19c8ebf43041264757a1e880fc53fb80bd2f14837debfbd759e6
|
|
4
|
+
data.tar.gz: de5e2c5a9eedfbd1542c6e4edb78007636214c424574ac46d02869af4a8e6bd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c3bbc279a98b45968656445bbfa512652edf2d08550a1a21bf619e84368f0fb26f68bcc406b7c335152c4abe29cf3b8e1f6c500ff7dbf1e84af006be261b464
|
|
7
|
+
data.tar.gz: 14bf4bb97b0a58c977e856896e6c13f8812634cf88b3e03b0e80e4da0b734896256c4fb27ebcfcd4cf0cd11c4c73fe40ba60578e78abcf358a5323feb1271ff5
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/async/http/client.rb
CHANGED
|
@@ -121,7 +121,7 @@ module Async
|
|
|
121
121
|
connection = nil
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
if attempt < @retries
|
|
124
|
+
if attempt < @retries and request.rewind!
|
|
125
125
|
retry
|
|
126
126
|
else
|
|
127
127
|
raise
|
|
@@ -132,7 +132,7 @@ module Async
|
|
|
132
132
|
connection = nil
|
|
133
133
|
end
|
|
134
134
|
|
|
135
|
-
if
|
|
135
|
+
if attempt < @retries and request.retry!
|
|
136
136
|
retry
|
|
137
137
|
else
|
|
138
138
|
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.98.0
|
|
20
|
+
|
|
21
|
+
- Rewind request bodies before retrying requests.
|
|
22
|
+
|
|
19
23
|
### v0.97.0
|
|
20
24
|
|
|
21
25
|
- Exposed all supported protocol names from the plaintext HTTP protocol negotiator.
|
|
@@ -55,10 +59,6 @@ Please see the [project releases](https://socketry.github.io/async-http/releases
|
|
|
55
59
|
|
|
56
60
|
- **Breaking**: Remove `Async::HTTP::Reference`. Use `Protocol::URL::Reference` directly instead.
|
|
57
61
|
|
|
58
|
-
### v0.91.0
|
|
59
|
-
|
|
60
|
-
- Move all default trace providers into `traces/provider/async/http`.
|
|
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.98.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -124,14 +124,14 @@ dependencies:
|
|
|
124
124
|
requirements:
|
|
125
125
|
- - "~>"
|
|
126
126
|
- !ruby/object:Gem::Version
|
|
127
|
-
version: '0.
|
|
127
|
+
version: '0.64'
|
|
128
128
|
type: :runtime
|
|
129
129
|
prerelease: false
|
|
130
130
|
version_requirements: !ruby/object:Gem::Requirement
|
|
131
131
|
requirements:
|
|
132
132
|
- - "~>"
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
|
-
version: '0.
|
|
134
|
+
version: '0.64'
|
|
135
135
|
- !ruby/object:Gem::Dependency
|
|
136
136
|
name: protocol-http1
|
|
137
137
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
|
Binary file
|