| commit | 9fc1b07c1ef4eebcfbcb72be931d5ee7a0303ae7 | [log] [tgz] |
|---|---|---|
| author | Mike Yu <yumike@google.com> | Fri May 20 12:59:28 2022 +0000 |
| committer | Mike Yu <yumike@google.com> | Mon Jun 13 09:31:54 2022 +0000 |
| tree | 9d38c591c0660ad7d37b53c09b487e539f484cfd | |
| parent | 66cb04a19c711a8cfabf41aa9ed4aa0dfbca112a [diff] |
Add a flag dot_keep_unusable_xport_sec Ununsable Transports stay in DnsTlsDispatcher's map for at least 5 minutes. In order to test that DnsTlsDispatcher can really remove expired and unusable Transports, make the timeout configurable via experiment flags. The flag is effective in userdebug builds only. This change is a follow up for aosp/2096574. Bug: 233345976 Test: atest Change-Id: I670c32e1eda68909296067605f532b2e4c5e8feb
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.