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

Skip to content
Commit 9551ff13 authored by Mike Yu's avatar Mike Yu
Browse files

DoH: Support Early Data

Early Data can be enabled by the flag `doh_early_data`.

As the value of the flag is cached in the DoH client, if
there are some networks existing before setting a new value to
the flag, those network will still use old flag until private
DNS setting changes.

Bug: 235763732
Test: atest
Test: atest doh_ffi_test
Test: manual test on wifi.
  1. adb shell tc qdisc add dev wlan0 root netem delay 500ms
  2. Observed the first DNS query latency on a subsequent connection:
     - when doh_early_data=0/doh_session_resumption=0, it took ~1500 ms
     - when doh_early_data=1/doh_session_resumption=1, it took ~500 ms
Change-Id: I06bc5f9aa006e357dc3ecf04a693126a55782e87
parent b5c5a71c
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