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

Skip to content
Commit 153b3fe1 authored by Mike Yu's avatar Mike Yu
Browse files

DoH: Increase the size of Network mpsc channel

Increase the channel size so that the DoH client can queue more
DNS requests before a DoH connection is established.

Apart from that, since the size of the queue is increased, it can
take more time to drain all the DNS requests out of the queue,
especially when DoH connections can't be established. This change
also add the check for expired DNS requests in Network object
before send them to Connection object.

Bug: 207301204
Test: cd packages/modules/DnsResolver && atest
Change-Id: Icfcbc7d389621cbbac23b5880907c26f1ab2f57f
parent 5d2a1071
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