It's hard to decide on what a basic default Resolver should do. Some libraries default to blocking the same thread.
-
Show this thread
-
Looks like curl (if c-ares isn't available) will spawn a thread per resolve, so slow resolves don't block others...
1 reply 0 retweets 0 likesShow this thread -
-
Replying to @Saythlin
There isn't a "basic" async option, libc only has the blocking getaddrinfo. Async options typically require a full DNS reimplementation.
0 replies 0 retweets 0 likes
I'd say it depends. Care to open an issue with a more detailed proposal?
4:15 PM - 22 Jul 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.