commit | 3caa42b58b1ef1644d88b96b041ca0aefd351f3d | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Thu Apr 23 14:18:04 2020 +0000 |
committer | Luke Huang <huangluke@google.com> | Thu Apr 23 16:01:13 2020 +0000 |
tree | cb2a8442b719f67fc0ef212750d43cf1ceee2d6b | |
parent | 06851b237e3df0effbd59f2d4b49b69ca9093780 [diff] |
Keep listening for UDP responses after sending the next retry Do the A/AAAA lookup in parallel for getaddrinfo Create threads for each A/AAAA lookup. The functionality is disabled for now. Bug: 2609013 Bug: 135717624 Bug: 151698212 Test: atest Bug: 135717624 Test: atest Merged-In: I3c970b638fb763ea209a62624f23c5ea85370fe9 Change-Id: Ib2f6d1b0e0a6e6f525a280bdc70c7bca37ac851b (cherry picked from commit 37b653be5296daa5324cb00794564e5a727b0304)
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.