aboutsummaryrefslogtreecommitdiff
path: root/res_query.cpp
diff options
context:
space:
mode:
authorMike Yu <yumike@google.com>2023-03-28 07:28:23 +0000
committerMike Yu <yumike@google.com>2023-04-13 05:56:34 +0000
commit581636ab1918b0f285e1a848b9e02f8dfb18d19c (patch)
tree8fa9f7fb5324c6c842cd287a18ea46a8313462d7 /res_query.cpp
parentc7f1d4efdb42aee5e931c0e4d494cdffc0e9e92d (diff)
Clean up the flag parallel_lookup_release
The flag has been enabled by default for more than 2 years since aosp/1517564. This change removes not only the flag but also the dead code res_queryN(). Bug: 277699672 Test: atest Change-Id: I3445f9ccdbb9746c0f78ad8b50e3193c6a1868a3
Diffstat (limited to 'res_query.cpp')
-rw-r--r--res_query.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/res_query.cpp b/res_query.cpp
index 17cac321..036a6e31 100644
--- a/res_query.cpp
+++ b/res_query.cpp
@@ -141,8 +141,8 @@ again:
LOG(INFO) << __func__ << ": send error";
// Note that rcodes SERVFAIL, NOTIMP, REFUSED may cause res_nquery() to return a general
- // error code EAI_AGAIN, but mapping the error code from rcode as res_queryN() does for
- // getaddrinfo(). Different rcodes trigger different behaviors:
+ // error code EAI_AGAIN, but mapping the error code from rcode as res_queryN_parallel()
+ // does for getaddrinfo(). Different rcodes trigger different behaviors:
//
// - SERVFAIL, NOTIMP, REFUSED
// These result in send_dg() returning 0, causing res_nsend() to try the next