diff --git a/lib/httpx/resolver/https.rb b/lib/httpx/resolver/https.rb index 7d3c511e..e7d3f27a 100644 --- a/lib/httpx/resolver/https.rb +++ b/lib/httpx/resolver/https.rb @@ -39,6 +39,7 @@ module HTTPX @uri_addresses = nil @resolver = Resolv::DNS.new @resolver.timeouts = @resolver_options.fetch(:timeouts, Resolver::RESOLVE_TIMEOUT) + @resolver.lazy_initialize end def <<(connection)