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

Commit 23e0eaad 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:...

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

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

Change-Id: Ica20777455f3d7fd6b9bb1f3238ca225d3d495bb
parents 40f78d05 1c30fe63
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) {