lib/httpx/resolver/native.rb in httpx-0.23.1 vs lib/httpx/resolver/native.rb in httpx-0.23.2

- old
+ new

@@ -279,10 +279,10 @@ end def parse_addresses(addresses) if addresses.empty? # no address found, eliminate candidates - _, connection = @queries.first + hostname, connection = @queries.first reset_hostname(hostname) @connections.delete(connection) raise NativeResolveError.new(connection, connection.origin.host) else address = addresses.first