about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-01 18:43:28 -0700
committerGitHub <noreply@github.com>2016-07-01 18:43:28 -0700
commit32a6373322d381c5778daea39a4f3b7ff94d9ee0 (patch)
treec9dc0b5377eef02cc968d9f68be600ec68275322 /src/rustllvm/RustWrapper.cpp
parent01411937ff6b2a2dfad03d060d636941b0034591 (diff)
parent6aa01825204e8c3c29d104935de78df74a8e51d3 (diff)
downloadrust-32a6373322d381c5778daea39a4f3b7ff94d9ee0.tar.gz
rust-32a6373322d381c5778daea39a4f3b7ff94d9ee0.zip
Auto merge of #34067 - tbu-:pr_lookup_host_ignore_other_addresses, r=alexcrichton
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