• Eric Orth's avatar
    Implement DNS transaction timeout · 03adad67
    Eric Orth authored
    Unless |fast_timeout| is used (which will maintain previous behavior
    of timing out immediately after the last attempt), on fallback of the
    last attempt, a timer is run to time out the transaction.
    
    Also doing the same on errors with the last attempt as long as at least
    one previous attempt is still pending. And the transaction will also
    return errors immediately if it was from the last pending attempt.
    
    Bug: 1109792
    Change-Id: Ibc8ed54428fcba247ed3526fa41584e27a118e81
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2464068
    Commit-Queue: Eric Orth <ericorth@chromium.org>
    Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#818606}
    03adad67
dns_transaction.cc 56.6 KB