mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-07-14 00:00:49 -04:00
Compare commits
4 Commits
bc975f7b9b
...
8559a3eef8
Author | SHA1 | Date | |
---|---|---|---|
|
8559a3eef8 | ||
|
f69af8ddfe | ||
|
18cb21888f | ||
|
ff59a4c279 |
6
doc/release_notes/0_22_4.md
Normal file
6
doc/release_notes/0_22_4.md
Normal file
@ -0,0 +1,6 @@
|
||||
# 0.22.4
|
||||
|
||||
## Bugfixes
|
||||
|
||||
* 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.
|
||||
* fix for faraday plugin parallel mode, where it'd hang if no requests would be made in the parallel block (@catlee)
|
@ -147,8 +147,10 @@ module HTTPX
|
||||
end
|
||||
|
||||
new_connection.once(:tcp_open) do |new_conn|
|
||||
new_conn.merge(connection)
|
||||
connection.force_reset
|
||||
if new_conn != connection
|
||||
new_conn.merge(connection)
|
||||
connection.force_reset
|
||||
end
|
||||
end
|
||||
new_connection.once(:connect_error) do |err|
|
||||
if connection.connecting?
|
||||
|
@ -73,7 +73,7 @@ module HTTPX
|
||||
end
|
||||
|
||||
def params_hash_has_key?(hash, key)
|
||||
return false if /\[\]/.match?(key)
|
||||
return false if key.include?("[]")
|
||||
|
||||
key.split(/[\[\]]+/).inject(hash) do |h, part|
|
||||
next h if part == ""
|
||||
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module HTTPX
|
||||
VERSION = "0.22.3"
|
||||
VERSION = "0.22.4"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user