Yay, async-std just landed a patch to add an async version of ToSocketAddr!
This is useful because when using std's ToSocketAddr it may perform DNS lookups and block while resolving
.
This is now solved thanks to the excellent work of @janus_of_DC!https://github.com/async-rs/async-std/pull/74 …
-
-
Is there an underlying timeout that std uses to avoid locking up on this? The method already returns a Result
-
Not sure; could very well be it relies directly on kernel behavior. You'll have to check the source I think.
End of conversation
New conversation -
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.