httpx 0.23.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/release_notes/0_23_1.md +5 -0
- data/lib/httpx/resolver/native.rb +7 -3
- data/lib/httpx/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b2b08112684f9bd8729c77dba080f3c6a6ae1f49f9edf64064e8f5511814ec9
|
4
|
+
data.tar.gz: 27c4c7e04269ef2c70c7a1b47d468344ffe40bd95ecaddea4fae383e23e7828b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5e434e9ff70a0c1c70fc35d5c5a9a854c4ac4d205a1116a92594c59dd7a70abe9985623c7d7c96348a15b73a51cf08244f6e8ae0ffb9a61760249b5213e6d8f
|
7
|
+
data.tar.gz: 3eb75f06e34ff49cf998eeccb70a316acfa4962e6663fd6c59e03cbfdb1200ce5f6580fed0baac2e034b2106cba163bb0fd6454cf008a58bac5bcc6babb744af
|
@@ -244,10 +244,14 @@ module HTTPX
|
|
244
244
|
when :no_domain_found
|
245
245
|
# Indicates no such domain was found.
|
246
246
|
hostname, connection = @queries.first
|
247
|
-
reset_hostname(hostname)
|
247
|
+
reset_hostname(hostname, reset_candidates: false)
|
248
248
|
|
249
|
-
@
|
250
|
-
|
249
|
+
unless @queries.value?(connection)
|
250
|
+
@connections.delete(connection)
|
251
|
+
raise NativeResolveError.new(connection, connection.origin.host, "name or service not known")
|
252
|
+
end
|
253
|
+
|
254
|
+
resolve
|
251
255
|
when :message_truncated
|
252
256
|
# TODO: what to do if it's already tcp??
|
253
257
|
return if @socket_type == :tcp
|
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.23.
|
4
|
+
version: 0.23.1
|
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-04-
|
11
|
+
date: 2023-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-2-next
|
@@ -95,6 +95,7 @@ extra_rdoc_files:
|
|
95
95
|
- doc/release_notes/0_22_4.md
|
96
96
|
- doc/release_notes/0_22_5.md
|
97
97
|
- doc/release_notes/0_23_0.md
|
98
|
+
- doc/release_notes/0_23_1.md
|
98
99
|
- doc/release_notes/0_2_0.md
|
99
100
|
- doc/release_notes/0_2_1.md
|
100
101
|
- doc/release_notes/0_3_0.md
|
@@ -182,6 +183,7 @@ files:
|
|
182
183
|
- doc/release_notes/0_22_4.md
|
183
184
|
- doc/release_notes/0_22_5.md
|
184
185
|
- doc/release_notes/0_23_0.md
|
186
|
+
- doc/release_notes/0_23_1.md
|
185
187
|
- doc/release_notes/0_2_0.md
|
186
188
|
- doc/release_notes/0_2_1.md
|
187
189
|
- doc/release_notes/0_3_0.md
|