mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
for multi-backed resolvers, resolving is attempted before sending it to the resolver. in this way, cached, local or ip resolves get propagated to the proper resolver by ip family, instead of the previous mess. the system resolver doesn't do these shenanigans (trust getaddrinfo)
7 lines
140 B
Plaintext
7 lines
140 B
Plaintext
module HTTPX
|
|
module Resolver
|
|
class Multi
|
|
def early_resolve: (Connection connection, ?hostname: String) -> void
|
|
end
|
|
end
|
|
end |