rust/src
Corey Farwell b091d6ed42 Rollup merge of #41582 - jonhoo:reread-nameservers-on-lookup-fail, r=alexcrichton
Reload nameserver information on lookup failure

As discussed in #41570, UNIX systems often cache the contents of `/etc/resolv.conf`, which can cause lookup failures to persist even after a network connection becomes available. This patch modifies lookup_host to force a reload of the nameserver entries following a lookup failure. This is in line with what many C programs already do (see #41570 for details). On systems with nscd, this should not be necessary, but not all systems run nscd.

Fixes #41570.
Depends on rust-lang/libc#585.

r? @alexcrichton
2017-05-05 17:35:26 -04:00
..
bootstrap Add remote device testing support 2017-05-04 12:43:22 +02:00
build_helper
ci
compiler-rt@c8a8767c56
doc Rollup merge of #41064 - Gankro:ptr-redux, r=alexcrichton 2017-05-05 17:35:24 -04:00
driver
etc
jemalloc@11bfb0dcf8
liballoc Rollup merge of #41064 - Gankro:ptr-redux, r=alexcrichton 2017-05-05 17:35:24 -04:00
liballoc_jemalloc
liballoc_system
libarena Deprecate heap::EMPTY in favour of Unique::empty or otherwise. 2017-05-04 23:54:54 -04:00
libbacktrace
libcollections Deprecate heap::EMPTY in favour of Unique::empty or otherwise. 2017-05-04 23:54:54 -04:00
libcompiler_builtins
libcore Rollup merge of #41064 - Gankro:ptr-redux, r=alexcrichton 2017-05-05 17:35:24 -04:00
libflate fallout from NonZero/Unique/Shared changes 2017-05-04 23:54:54 -04:00
libfmt_macros
libgetopts
libgraphviz
liblibc@03562b0cb2 Reload nameserver information on lookup failure 2017-05-04 23:59:55 -04:00
libpanic_abort
libpanic_unwind
libproc_macro
libproc_macro_plugin
librand
librustc Rollup merge of #41064 - Gankro:ptr-redux, r=alexcrichton 2017-05-05 17:35:24 -04:00
librustc_asan
librustc_back Rollup merge of #41657 - malbarbo:android-armv7-linker, r=alexcrichton 2017-05-02 21:21:22 -04:00
librustc_bitflags
librustc_borrowck Rollup merge of #41064 - Gankro:ptr-redux, r=alexcrichton 2017-05-05 17:35:24 -04:00
librustc_const_eval
librustc_const_math
librustc_data_structures fallout from NonZero/Unique/Shared changes 2017-05-04 23:54:54 -04:00
librustc_driver remove mir_passes from Session and add a FIXME 2017-05-02 16:21:58 -04:00
librustc_errors
librustc_incremental
librustc_lint
librustc_llvm
librustc_lsan
librustc_metadata Rollup merge of #41653 - achernyak:master, r=nikomatsakis 2017-05-02 21:21:20 -04:00
librustc_mir remove temporary variable 2017-05-02 16:21:57 -04:00
librustc_msan
librustc_passes rename from item_mir to optimized_mir 2017-05-02 16:21:57 -04:00
librustc_platform_intrinsics
librustc_plugin
librustc_privacy
librustc_resolve
librustc_save_analysis convert save-analysis to use ItemCtxt and not ast_ty_to_ty_cache 2017-05-03 21:33:15 -04:00
librustc_trans rename from item_mir to optimized_mir 2017-05-02 16:21:57 -04:00
librustc_tsan
librustc_typeck Auto merge of #41733 - nikomatsakis:incr-comp-remove-ast-ty-to-ty-cache, r=eddyb 2017-05-04 09:15:23 +00:00
librustdoc Rollup merge of #41307 - GuillaumeGomez:jquery-removal, r=frewsxcv 2017-05-05 17:35:24 -04:00
libserialize
libstd Rollup merge of #41582 - jonhoo:reread-nameservers-on-lookup-fail, r=alexcrichton 2017-05-05 17:35:26 -04:00
libstd_unicode
libsyntax Remove use of Self: Sized from libsyntax 2017-05-04 13:19:36 +01:00
libsyntax_ext
libsyntax_pos
libterm
libtest
libunwind
llvm@cf85b5a8da Update llvm to pull in various backports 2017-05-04 08:12:17 +02:00
rt
rtstartup
rust-installer@2e6417f6af Update rust-installer to fix rust-lang-nursery/rustup.rs#1092 2017-05-05 00:03:30 -07:00
rustc
rustllvm
test Rollup merge of #41582 - jonhoo:reread-nameservers-on-lookup-fail, r=alexcrichton 2017-05-05 17:35:26 -04:00
tools Rollup merge of #41307 - GuillaumeGomez:jquery-removal, r=frewsxcv 2017-05-05 17:35:24 -04:00
Cargo.lock convert save-analysis to use ItemCtxt and not ast_ty_to_ty_cache 2017-05-03 21:33:15 -04:00
Cargo.toml
stage0.txt