New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hostip: on macOS avoid DoH when given a numerical IP address #5459
Conversation
USE_RESOLVE_ON_IPS (defined on macOS) means that addresses still need to get "resolved" but not with DoH. Reported-by: Viktor Szakats Fixes #5454
Thank you — there is an improvement! But it now falls into the same trap inside |
Ah right, I didn't consider the fact that it will do the name resolve in a separate thread and thus get the response back asynchronously and not immediately... |
Retried with your latest update and it's a success now (on macOS): stderr
|
Execellent, thanks for verifying this! |
USE_RESOLVE_ON_IPS (defined on macOS) means that addresses still need to
get "resolved" but not with DoH.
Reported-by: Viktor Szakats
Fixes #5454