commit | bb33074673dd334b3ff2cfd9f6cc6eb67533db86 | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Wed Oct 09 00:55:53 2019 +0900 |
committer | Bernie Innocenti <codewiz@google.com> | Wed Oct 09 01:02:10 2019 +0900 |
tree | af01c241438bcf72f12156e9549a714e5f75be61 | |
parent | 67a2790c69b9df8c4937923cb00aacb637815b87 [diff] |
Delete the _u._ext nonsense from res_state Also eliminate _u._ext.nscount, which was nothing but a flag to clear _u._ext.nssocks on the first run of res_nsend(). Moved the initialization to res_init() instead. We're starting to get closer to the final shape of this code. Next steps would involve eliminating res_static and all the code in res_state.cpp dealing with thread-local storage. Test: m, flash, atest Change-Id: I4585b9d798d5ff9b8482dc12619d998d77398a0b
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.