commit | 67a2790c69b9df8c4937923cb00aacb637815b87 | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Wed Oct 09 00:44:56 2019 +0900 |
committer | Bernie Innocenti <codewiz@google.com> | Wed Oct 09 00:44:56 2019 +0900 |
tree | fbdec79b118d4f8c2a311c38c3d2b020fb2893aa | |
parent | c977ab77afa2d43aee8a355433678523c75bee0f [diff] |
Delete nameserver config change detection in res_nsend Configuration changes between calls to res_nsend() are impossible, because each thread has its own copy of res_state, and the nameservers are copied there by _resolv_populate_res_for_net() at the very beginning. Another little peace of untestable code hits the dust. Test: m, flash, atest Change-Id: I90b48eab92f087ec0958516963655a0c43c29260
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.