mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Refactor dnsresponse code
This commit is contained in:
parent
48435b5281
commit
2db61bc1e9
1 changed files with 1 additions and 2 deletions
|
@ -1045,8 +1045,7 @@ class DnsOverHttpsProbeRunner : public DnsProbeRunner {
|
|||
|
||||
if (extraction_error ==
|
||||
DnsResponseResultExtractor::ExtractionError::kOk &&
|
||||
results.legacy_addresses() &&
|
||||
!results.legacy_addresses().value().empty()) {
|
||||
results.ip_endpoints() && !results.ip_endpoints()->empty()) {
|
||||
// The DoH probe queries don't go through the standard DnsAttempt
|
||||
// path, so the ServerStats have not been updated yet.
|
||||
context_->RecordServerSuccess(
|
||||
|
|
Loading…
Reference in a new issue