diff options
author | Matthew Maurer <mmaurer@google.com> | 2021-10-25 13:04:44 -0700 |
---|---|---|
committer | Mike Yu <yumike@google.com> | 2021-11-09 21:00:59 +0800 |
commit | ed78fdaf9b08551599bc79736729f7cf3fc6eb06 (patch) | |
tree | 8f17c8e4ab91793d5520a619394000f565fb6039 /PrivateDnsConfiguration.cpp | |
parent | f42426ec380f66ccdf28e463c5386c3b611a6b94 (diff) | |
download | DnsResolver-ed78fdaf9b08551599bc79736729f7cf3fc6eb06.tar.gz |
DoH: Modularize main event loop
* Connection now provides HTTP/3.
* Network has the logic for resolving DNS and maintaining a Connection.
* Dispatcher routes requests to the appropriate Network or creates one
if needed.
* IO and maintenance is performed via tasks rather than manually pushing
the futures in the main event loop.
Bug: 202081046
Test: resolv_integration_test
Test: resolv_stress_test + I682678b84b35c575a3eb88c2c1c67aefd195616c
Change-Id: I4296d0c7a7852951f41418b18686794d8df781bd
Diffstat (limited to 'PrivateDnsConfiguration.cpp')
0 files changed, 0 insertions, 0 deletions