commit | 22617fdf37ea5c72dd52ee2d134c71462f68a344 | [log] [tgz] |
---|---|---|
author | Hungming Chen <nuccachen@google.com> | Fri Dec 06 12:15:45 2019 +0800 |
committer | Hungming Chen <nuccachen@google.com> | Fri Dec 27 11:10:33 2019 +0800 |
tree | c2ebd5f3f8fe475f137f22048c920f70e9f9c19d | |
parent | b9da5e9a8c17c3ca2af6c0c941200abbe29be0f5 [diff] |
dns_responder: Truncate UDP response which is larger than 512 bytes Add support for testing truncated UDP is received and retrying over TCP. test: cd packages/modules/DnsResolver && atest Change-Id: I741110402c02771b6ad70a185ac946658d62224e
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.