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

Commit 0a61733e authored by Mike Yu's avatar Mike Yu Committed by Gerrit Code Review
Browse files

Merge "Exclude the latency in DnsStats if it is relevant to EPERM"

parents 5e60de17 30e0de95
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) {