WebResource filter with custom host #5005
Unanswered
valapran-flutterint
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to filter request with a custom host, https://cst_host/page. Then I will use add_WebResourceRequested to provide custom response. I want to use https protocol here but with a custom host. Don,t/Can't want to use custom scheme.
CEF had CefRegisterSchemeHandlerFactory where I can specify a host as well, do we have similar in WebView2?
Everything works fine, but the issue is that I get DNS timeout and the total turnaround for the request takes 2+ seconds because of this. How to bypass the dns part here?
[8152:6048:1221/102719.128:ERROR:smartscreen_dns_resolver.cc(110)] SmartScreenDnsResolver::OnComplete Error: -7 DidTimeOut: 1 URL: http://cst_host/page
Beta Was this translation helpful? Give feedback.
All reactions