Bug 1333257 - Only cache V2 misses when doing Safe Browsing lookups. r=francois
MozReview-Commit-ID: 6kvM6z5OnPw
This commit is contained in:
@@ -498,8 +498,10 @@ Classifier::Check(const nsACString& aSpec,
|
||||
|
||||
if (LookupCache::Cast<LookupCacheV4>(cache)) {
|
||||
matchingStatistics |= PrefixMatch::eMatchV4Prefix;
|
||||
result->mProtocolV2 = false;
|
||||
} else {
|
||||
matchingStatistics |= PrefixMatch::eMatchV2Prefix;
|
||||
result->mProtocolV2 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user