commit | 637790540a19646db5520a05d6639be2f459c44f | [log] [tgz] |
---|---|---|
author | Hungming Chen <nuccachen@google.com> | Wed Oct 30 15:06:13 2019 +0800 |
committer | Hungming Chen <nuccachen@google.com> | Fri Nov 01 15:56:32 2019 +0800 |
tree | bb7625ed1516ba68e634abb5fbb4ce8e7362fa18 | |
parent | 90d4e68d8da0b7a0fef4edca93cdd12bdda0dbc9 [diff] |
resolv_integration_test: Test message compression Per RFC 1035 section 4.1.4, the domain name could be preseneted as either: - a sequence of labels ending in a zero octet - a pointer - a sequence of labels ending with a pointer The first presentation has been verified in existing test cases. This commit verifies the remaining presentation which uses a pointer. Test: cd packages/modules/DnsResolver && atest Change-Id: I705a3f5c96920cc0431aae4f8537db07e280bd1b
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.