httpx 0.22.3 → 0.22.4
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
- data/doc/release_notes/0_22_4.md +6 -0
- data/lib/httpx/adapters/faraday.rb +2 -0
- data/lib/httpx/pool.rb +4 -2
- data/lib/httpx/transcoder.rb +1 -1
- data/lib/httpx/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d5e3e33caae5726e0c7630721296abac27073ed1fc071a7bb8c9467a2b1b2e0
|
4
|
+
data.tar.gz: f4344aee8002ecbe64d6e3321e1ca9f18507e2fd70223890211e05ab15967479
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c42940a7467f91f66779bdf26b83043fb99b17033d69cee7d7656946abc03a064f1b9952889b3c783b757429d5cc6d476575ff9ab347524738152f846c3ea91
|
7
|
+
data.tar.gz: 6199caed20de123a10af893a85c2657cc4b4bfb6645592a5155743e74a37ff754d3fcf404c8bb28582bead974b35c6f872d40d8b5ac77806bdc4b34992847e7a
|
@@ -0,0 +1,6 @@
|
|
1
|
+
# 0.22.4
|
2
|
+
|
3
|
+
## Bugfixes
|
4
|
+
|
5
|
+
* fix happy eyeballs v2 bug where, once the first connection would be established, the remaining one would still end up in the coalescing loop, thereby closing itself via the `:tcp_open` callback.
|
6
|
+
* fix for faraday plugin parallel mode, where it'd hang if no requests would be made in the parallel block (@catlee)
|
data/lib/httpx/pool.rb
CHANGED
@@ -147,8 +147,10 @@ module HTTPX
|
|
147
147
|
end
|
148
148
|
|
149
149
|
new_connection.once(:tcp_open) do |new_conn|
|
150
|
-
new_conn
|
151
|
-
|
150
|
+
if new_conn != connection
|
151
|
+
new_conn.merge(connection)
|
152
|
+
connection.force_reset
|
153
|
+
end
|
152
154
|
end
|
153
155
|
new_connection.once(:connect_error) do |err|
|
154
156
|
if connection.connecting?
|
data/lib/httpx/transcoder.rb
CHANGED
data/lib/httpx/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httpx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiago Cardoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-2-next
|
@@ -92,6 +92,7 @@ extra_rdoc_files:
|
|
92
92
|
- doc/release_notes/0_22_1.md
|
93
93
|
- doc/release_notes/0_22_2.md
|
94
94
|
- doc/release_notes/0_22_3.md
|
95
|
+
- doc/release_notes/0_22_4.md
|
95
96
|
- doc/release_notes/0_2_0.md
|
96
97
|
- doc/release_notes/0_2_1.md
|
97
98
|
- doc/release_notes/0_3_0.md
|
@@ -176,6 +177,7 @@ files:
|
|
176
177
|
- doc/release_notes/0_22_1.md
|
177
178
|
- doc/release_notes/0_22_2.md
|
178
179
|
- doc/release_notes/0_22_3.md
|
180
|
+
- doc/release_notes/0_22_4.md
|
179
181
|
- doc/release_notes/0_2_0.md
|
180
182
|
- doc/release_notes/0_2_1.md
|
181
183
|
- doc/release_notes/0_3_0.md
|
@@ -388,7 +390,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
388
390
|
- !ruby/object:Gem::Version
|
389
391
|
version: '0'
|
390
392
|
requirements: []
|
391
|
-
rubygems_version: 3.
|
393
|
+
rubygems_version: 3.4.1
|
392
394
|
signing_key:
|
393
395
|
specification_version: 4
|
394
396
|
summary: HTTPX, to the future, and beyond
|