commit | 1919271214cadbf65fcaf100f68c07d2839118f9 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Aug 28 11:56:31 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Sat Sep 26 19:18:52 2020 +0800 |
tree | 38d4ca6de03fd9167c970b8b66df3180926fa4c4 | |
parent | e93d9ae12ae8df2eac9b1a06c98b6141b08a3fe3 [diff] |
Move connectTimeout to DnsTlsSocket Because DnsTlsServer is not freshed along with creating or destroying a network, move the flag into Experiments class so that a new value of the flag can take effect on already-existing networks. Bug: 149445907 Bug: 120182528 Test: cd packages/modules/DnsResolver && atest Change-Id: I37afed9606765e7715ecb23e4946305ac79a21e3
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.