diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-05-05 17:35:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-05 17:35:26 -0400 |
| commit | b091d6ed428a5edb67ad24850374e75e7f615c93 (patch) | |
| tree | d23c1b6b2c0db4d1fcd51fbf95be04e7ce601a98 /src/test/incremental/thinlto | |
| parent | 69f4e318a0280d3cffda9fd9ca60ba084c5a27fd (diff) | |
| parent | 68ae6173fea7411a5d9e5bde6624f5606caf8fe8 (diff) | |
| download | rust-b091d6ed428a5edb67ad24850374e75e7f615c93.tar.gz rust-b091d6ed428a5edb67ad24850374e75e7f615c93.zip | |
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
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
