Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73edc54f authored by Mike Yu's avatar Mike Yu Committed by Automerger Merge Worker
Browse files

Merge "Exclude the latency in DnsStats if it is relevant to EPERM" am: 0a61733e

Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1708169

Change-Id: I159b3c9663a15fe7d43f84ed6ec283c8928aed2d
parents 57e76e61 0a61733e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -595,9 +595,9 @@ int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int
                    // TODO: Replace usable_servers of legacy stats with new one.
                    resolv_cache_add_resolver_stats_sample(
                            statp->netid, revision_id, serverSockAddr, sample, params.max_samples);
                }
                    resolv_stats_add(statp->netid, receivedServerAddr, dnsQueryEvent);
                }
            }

            if (resplen == 0) continue;
            if (fallbackTCP) {