diff options
author | Carl Lerche <me@carllerche.com> | 2019-08-28 13:25:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 13:25:50 -0700 |
commit | fc1640891e1cb4a2bf1ab032452e0e3ef6daf22c (patch) | |
tree | 8433e21e228ef14986e3d22777949e658ddee5ff /.github | |
parent | de9f05d4d3325a281ddb40adf103fa2b4bba7ee6 (diff) |
net: perform DNS lookup on connect / bind. (#1499)
A sealed `net::ToSocketAddrs` trait is added. This trait is not intended
to be used by users. Instead, it is an argument to `connect` and `bind`
functions.
The operating system's DNS lookup functionality is used. Blocking
operations are performed on a thread pool in order to avoid blocking the
runtime.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions