This commit is contained in:
Alexander David Frick 2022-03-13 13:56:07 -05:00 committed by GitHub
parent b9becfa788
commit 38f79e32a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1041,7 +1041,10 @@ class DnsOverHttpsProbeRunner : public DnsProbeRunner {
DnsResponseResultExtractor extractor(response);
HostCache::Entry results(ERR_FAILED, HostCache::Entry::SOURCE_UNKNOWN);
DnsResponseResultExtractor::ExtractionError extraction_error =
extractor.ExtractDnsResults(DnsQueryType::A, &results);
extractor.ExtractDnsResults(
DnsQueryType::A,
/*original_domain_name=*/kDoHProbeHostname,
/*request_port=*/0, &results);
if (extraction_error ==
DnsResponseResultExtractor::ExtractionError::kOk &&