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

Skip to content
Commit 3977d487 authored by Mike Yu's avatar Mike Yu
Browse files

Extend ResolverTest.BrokenEdns to cover using EDNS0 for cleartext DNS

In opportunistic mode, if the resolver somehow fallbacks to cleartext
DNS servers, it uses EDNS0 to send queries. If the server can't
recognize EDNS0, the resolver retries without EDNS0 only when the
server can make a response with rcode FORMERR.

Add more testcases for ResolverTest.BrokenEdns to ensure the behavior
"retries without EDNS0 when receiving rcode FORMERR" correct.

Bug: 120257033
Test: resolv_integration_test passed
Change-Id: I373fc134a56abc12dc3ff24b3cd144c9a37f4844
parent ecc52827
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