commit | bf0b3bcc2a2fa0e47c2d9126492a1ba3c2e2fae2 | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Fri Oct 11 19:45:56 2019 +0900 |
committer | Bernie Innocenti <codewiz@google.com> | Fri Oct 11 21:50:03 2019 +0900 |
tree | d170148199f4dccd4a97f9d37b5ed9bf94fd818e | |
parent | 324f9f8c59b6cf8aa32963cddca5d04713c6876e [diff] |
Cull res_static res_static was used by the non-reentrant legacy resolver calls to hold a per-thread buffer for the hostent struct and its associated 8KB buffer, which is now stack allocated by the caller. Change-Id: I01a2ea4c2e290d8e4f19fc3be3ebf827c8200b0e
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.