1. 06 Nov, 2018 39 commits
  2. 05 Nov, 2018 1 commit
    • Eric Orth's avatar
      Disallow fallback with DNS source · 60931741
      Eric Orth authored
      On built-in resolver failures, we sometimes fallback and try again with
      the system resolver. This is not desirable when the source is explicitly
      set to DNS as we should then only resolve using the built-in resolver.
      
      Also changed the "disabling" of DnsClient after errors that succeed on
      fallback. Should only opportunistically affect requests that can
      fallback.  When we cannot fallback (e.g. due to being a DNS request),
      DnsClient will still be used.
      
      Also changed the behavior of requesting DNS with the DnsClient disabled.
      Subsequent requests match that behavior and return an error instead of
      DCHECKing.
      
      Bug: 846423
      Change-Id: If9e20e32e3e95aad7bd9e09b66bcb00808b95b43
      Reviewed-on: https://chromium-review.googlesource.com/c/1313448
      Commit-Queue: Eric Orth <ericorth@chromium.org>
      Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#605519}
      60931741