diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-06-03 23:10:36 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-06-29 11:39:56 +0200 |
| commit | d6237cefcb9fae0286a920b182e9bbc928a57c8a (patch) | |
| tree | 829a95e9e6b3bddb2eb36fd6c5876566379a1d4e /src/rustllvm/RustWrapper.cpp | |
| parent | 366de839ae9794411419c5b579c829e18adde613 (diff) | |
| download | rust-d6237cefcb9fae0286a920b182e9bbc928a57c8a.tar.gz rust-d6237cefcb9fae0286a920b182e9bbc928a57c8a.zip | |
Ignore unknown address types when looking up hosts
Previously, any function using a `ToSocketAddrs` input would fail if passed a hostname that resolves to an address type different from the ones recognized by Rust. This also changes the `LookupHost` iterator to only include the known address types, as a result, it doesn't have to return `Result`s any more, which are likely misinterpreted as failed name lookups.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
