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

Skip to content
Commit 607f74e7 authored by Mike Yu's avatar Mike Yu
Browse files

DoH: Send pending data out right after handle a buffered DNS request

After handling a buffered DNS request, the DnsResolver doesn't
send the DoH query out to the server immediatly. Instead, it
starts waiting for any new DNS request or any packets from the
server, which can lead to the DNS request timed out.

So this change makes the DnsResolver send any pending data
immediately after it handles a buffered DNS request.

Bug: 275539642
Test: ran resolv_integration_test.PrivateDnsDohTest#RunOutOfStreams
      2000 times
Change-Id: I4386a929618a251e3b92fe4724fdfe85e0c44bd4
parent bdc09ba4
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