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

Skip to content
Commit 9a495be2 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by 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
Merged-In: I373fc134a56abc12dc3ff24b3cd144c9a37f4844
Change-Id: I7016dd59d05eb62778f29220fd7450fbff1341ea
(cherry picked from commit 0818bee5)
parent a711edb4
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