commit | f974124eae008ef23e58d9a287eedac1d12fe905 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Oct 26 16:01:17 2021 -0700 |
committer | Mike Yu <yumike@google.com> | Tue Nov 09 21:01:18 2021 +0800 |
tree | a9ab833b1064252b592bbe1f6a3c0d559c687505 | |
parent | ed78fdaf9b08551599bc79736729f7cf3fc6eb06 [diff] |
DoH: Automatically reconnect closed connections Previously, I assumed a reprobe would be issued after a network died to re-establish it. As this is not the case, this change automatically re-establishes the connection to survive the stress test. Bug: 202081046 Bug: 203314532 Test: resolv_integration_test Test: resolv_stress_test + I682678b84b35c575a3eb88c2c1c67aefd195616c Change-Id: I4c934429f2eb827382eccc10dea82c1cc8a78d4a
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.