WinHTTP and the V8ProxyResolver

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

WinHTTP and the V8ProxyResolver

Postby usaini » Tue Feb 08, 2011 2:26 pm

I was just looking through the browser_request_context, and noticed that instead of using WinHTTP under the autodetect settings,CEF was not really using a ProxyResolver.

Is there a reason, CEF doesn't use the V8ProxyResolver? It looks like to me in the Chromium code, WinHTTP isn't really used at all anymore, and it used the V8ProxyResolver by default (unless that is overridden by the user).

There is also an issue with WinHTTP in how it handles PAC files with bad/incorrect MIME types. It will just barf/fail on the PAC file if the http proxy site doesn't end in .pac or .js and the MIME type is incorrect. In the ProxyFetcherImpl, it seemed to just log that it was incorrect, but still use the PAC file anyway to try and mimic IE and firefox.

I was just wondering if it is safe to change CEF to always just use the V8ProxyResolver, and that should be system independent as well.

Thanks,
Udam
usaini
Newbie
 
Posts: 3
Joined: Tue Sep 28, 2010 2:20 pm

Re: WinHTTP and the V8ProxyResolver

Postby magreenblatt » Tue Feb 08, 2011 2:33 pm

magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 16 guests