mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 20:04:12 -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 ==
|
if (extraction_error ==
|
||||||
DnsResponseResultExtractor::ExtractionError::kOk &&
|
DnsResponseResultExtractor::ExtractionError::kOk &&
|
||||||
results.legacy_addresses() &&
|
results.ip_endpoints() && !results.ip_endpoints()->empty()) {
|
||||||
!results.legacy_addresses().value().empty()) {
|
|
||||||
// The DoH probe queries don't go through the standard DnsAttempt
|
// The DoH probe queries don't go through the standard DnsAttempt
|
||||||
// path, so the ServerStats have not been updated yet.
|
// path, so the ServerStats have not been updated yet.
|
||||||
context_->RecordServerSuccess(
|
context_->RecordServerSuccess(
|
||||||
|
|
Loading…
Reference in a new issue