commit | e9ff0021527e0e09a0f5e537a1230038676bc053 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Feb 09 13:29:04 2023 +0000 |
committer | Mike Yu <yumike@google.com> | Tue Feb 21 07:15:44 2023 +0000 |
tree | b39f8ad51528caa65c58155d0bdc0911a81ae370 | |
parent | 5e544436d1ef2f1d2c24291161c6b24df3e6955b [diff] |
Test: Add a DoH test for RESET_STREAM In current DoH implementation, after receiving a RESET_STREAM frame, DnsResolver is notified of a h3::Event::Reset with an error when it is receiving the DoH response. If there is any data received from h3::Event::Headers or h3::Event::Data data, the data will be discarded. The lookup thread that is waiting for the DoH answer will be notified of DoH query failure. Bug: 264966204 Test: atest Change-Id: I6e63f1c6913c4ea2d5a2f205374adfd91733576f
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.