httpx 0.23.2 → 0.23.3
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_3.md +6 -0
- data/lib/httpx/resolver/native.rb +3 -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: 9a826e525e4ea1e2836566d70fa8af5231580bc0836482a86b4af8a159785895
|
4
|
+
data.tar.gz: 13d7e254551f8b730361f347b9570e4af4544c63d98ef1ca9a25eea51e10b340
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1db33022d9e917911a570cd4773078dfe5feb4198fc58e65da04cfcc278fb8569af4b8754b60b7545897546f8da05f62b56557c132f02dfcfc628923d605f47
|
7
|
+
data.tar.gz: bffcd04f84fd74c825d186215d919b943349c8cd7672bf030c81696956f5625216e4118e8a16f6cdea8321f62d8fc018fbd17ca8dbeb2ad667ca847aca46de44
|
@@ -198,15 +198,16 @@ module HTTPX
|
|
198
198
|
return
|
199
199
|
else
|
200
200
|
size = @read_buffer[0, 2].unpack1("n")
|
201
|
+
buffer = @read_buffer.byteslice(2..-1)
|
201
202
|
|
202
203
|
if size > @read_buffer.bytesize
|
203
204
|
# only do buffer logic if it's worth it, and the whole packet isn't here already
|
204
205
|
@large_packet = Buffer.new(size)
|
205
|
-
@large_packet <<
|
206
|
+
@large_packet << buffer
|
206
207
|
|
207
208
|
next
|
208
209
|
else
|
209
|
-
parse(
|
210
|
+
parse(buffer)
|
210
211
|
end
|
211
212
|
end
|
212
213
|
else # udp
|
@@ -266,7 +267,6 @@ module HTTPX
|
|
266
267
|
reset_hostname(hostname)
|
267
268
|
@connections.delete(connection)
|
268
269
|
ex = NativeResolveError.new(connection, connection.origin.host, "unknown DNS error (error code #{result})")
|
269
|
-
ex.set_backtrace(e.backtrace)
|
270
270
|
raise ex
|
271
271
|
when :decode_error
|
272
272
|
hostname, connection = @queries.first
|
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.3
|
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-05-
|
11
|
+
date: 2023-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-2-next
|
@@ -97,6 +97,7 @@ extra_rdoc_files:
|
|
97
97
|
- doc/release_notes/0_23_0.md
|
98
98
|
- doc/release_notes/0_23_1.md
|
99
99
|
- doc/release_notes/0_23_2.md
|
100
|
+
- doc/release_notes/0_23_3.md
|
100
101
|
- doc/release_notes/0_2_0.md
|
101
102
|
- doc/release_notes/0_2_1.md
|
102
103
|
- doc/release_notes/0_3_0.md
|
@@ -186,6 +187,7 @@ files:
|
|
186
187
|
- doc/release_notes/0_23_0.md
|
187
188
|
- doc/release_notes/0_23_1.md
|
188
189
|
- doc/release_notes/0_23_2.md
|
190
|
+
- doc/release_notes/0_23_3.md
|
189
191
|
- doc/release_notes/0_2_0.md
|
190
192
|
- doc/release_notes/0_2_1.md
|
191
193
|
- doc/release_notes/0_3_0.md
|