-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Treat decentralized DNS servers as available before first probe is completed #8212
Conversation
#include "net/dns/context_host_resolver.h" | ||
|
||
#define ResolveContext BraveResolveContext | ||
#include "../../../../net/dns/host_resolver.cc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: add #undef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added.
|
||
#define GetDohServerAvailability virtual GetDohServerAvailability | ||
#define NumAvailableDohServers virtual NumAvailableDohServers | ||
#define BRAVE_RESOLVE_CONTEXT_H friend class BraveResolveContext; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: could follow the format:
#define BRAVE_RESOLVE_CONTEXT_H\ private: \ friend class BraveResolveContext;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in b20ad62.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chromium_src
and patches
changes LGTM
c24010f
to
7f9ef57
Compare
post-init has unrelated audit-dep failure |
Treat decentralized DNS servers as available before first probe is completed
Resolves brave/brave-browser#14513
This PR handles the case that DNS resolution failed because of falling back to non-secure DNS servers before the first probe of DoH server is completed and marked as available to use.
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: