class CefTest : public CefApp
{
public:
void OnBeforeCommandLineProcessing(const CefString& process_type, CefRefPtr<CefCommandLine> command_line) override
{
__super::OnBeforeCommandLineProcessing(process_type, command_line);
command_line->AppendSwitch("winhttp-proxy-resolver");
command_line->AppendSwitch("no-proxy-server");
}
IMPLEMENT_REFCOUNTING(CefTest);
};
class CefClientTest : public CefBrowserProcessHandler
{
void OnBeforeChildProcessLaunch(CefRefPtr<CefCommandLine> command_line) override
{
__super::OnBeforeChildProcessLaunch(command_line);
command_line->AppendSwitch("winhttp-proxy-resolver");
command_line->AppendSwitch("no-proxy-server");
}
IMPLEMENT_REFCOUNTING(CefClientTest);
};
amaitland wrote:I only pass in command line arguments using `OnBeforeCommandLineProcessing`. For direct connection I've used `no-proxy-server` by it's self successfully.
Are you trying to use a `PAC` file for proxy config? It looks like that's the purpose of `winhttp-proxy-resolver`
http://peter.sh/experiments/chromium-co ... y-resolver
amaitland wrote:I can confirm using `2454.1317` that passing `--no-proxy-server=1` works for me.
Can you try using the `cefclient` example application and passing in from the command line?
Users browsing this forum: Google [Bot] and 75 guests