lib/httpx/resolver/resolver_mixin.rb in httpx-0.18.6 vs lib/httpx/resolver/resolver_mixin.rb in httpx-0.18.7
- old
+ new
@@ -30,10 +30,10 @@
addresses.map! do |address|
address.is_a?(IPAddr) ? address : IPAddr.new(address.to_s)
end
log { "resolver: answer #{connection.origin.host}: #{addresses.inspect}" }
connection.addresses = addresses
- catch(:coalesced) { emit(:resolve, connection) }
+ emit(:resolve, connection)
end
def early_resolve(connection, hostname: connection.origin.host)
addresses = connection.addresses ||
ip_resolve(hostname) ||