commit | 128183a5ffff59c96d442144ad10661f6fcd9710 | [log] [tgz] |
---|---|---|
author | lifr <lifr@google.com> | Wed Jan 08 18:04:50 2020 +0800 |
committer | Frank Li <lifr@google.com> | Mon Feb 17 13:43:32 2020 +0000 |
tree | 23dd098745da2c6afba98ba4fdf91a2f5c575d06 | |
parent | 731dc404a45c92211c926f3e4dff1fdd06603342 [diff] |
Fix retry time value in dnsQueryEvent when perform DNS query over TCP DNS queries over TCP can only be made once per server. The retry time value of dnsQueryEvent on TCP should always be "0". (Currently, it will populate the wrong value from the variable "retryTimes".) Bug: 147343838 Test: atest Change-Id: I67b9602fcf9882e8035765e1598c16cf36bfb5e4
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.