cef version: 2623 from cefbuilds.com
hello,
i have modify cefsimple project, add GetAuthCredentials method to SimpleHandler, which inherit from CefRequestHandler, then debug with:
cefsimple.exe --url=http://sample.com --proxy-server=https://myproxy.com –-remote-debugging-port=9999
and i use chrome devtool connect to localhost:9999, i can see that my proxy server has already response with header 'proxy-authenticate: Basic realm="SPDY Proxy"'
but GetAuthCredentials not been inovked at all, where breakpoint has been placed。
is anybody have the same problem as me?
- Code: Select all
bool SimpleHandler::GetAuthCredentials(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, bool isProxy,
const CefString& host, int port, const CefString& realm, const CefString& scheme, CefRefPtr<CefAuthCallback> callback)
{
if (isProxy) {
callback->Continue("abcdef", "123456");
return true;
}
return false;
}