Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70931aa0 authored by Luke Huang's avatar Luke Huang
Browse files

Refine asynchronous DNS API flag NO_RETRY behavior

Previously, query with NO_RETRY flag would try to query all the ns once.
Fix it to try only one DNS server per query.
The server is selected randomly from available nameserver list.

Bug: 122564854

Test: built, flashed, booted
      system/netd/tests/runtests.sh pass
      atest CtsNativeNetDnsTestCases
      atest DnsResolverTest

Change-Id: I489c1762b26dd39014ede85d6b6f0e16051ec5e9
parent b0cbe354
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment