Closed GoogleCodeExporter closed 9 years ago
Maybe Omaha does not like file://.
Original comment by ddor...@google.com
on 3 Jun 2010 at 5:51
Looks that's the issue. Actually Omaha doesn't use the proxy script URI
directly but
passes it to function WinHttpGetProxyForUrl. WinHttpGetProxyForUrl then calls
WinHttpSendRequest to get the script file. Unfortunately WinHttpSendRequest
can't
handle scheme file:// and fails with 12006 (ERROR_WINHTTP_UNRECOGNIZED_SCHEME)
whiche
translates to HRESULT 0x80072ee6. Directly specifying c:\proxy.pac doesn't work
either.
The fix maybe to use InternetGetProxyInfo() from wininet. End user can also
move the
wpad.dat file to a http server to workaround the issue.
Original comment by xiaoling...@gmail.com
on 3 Jun 2010 at 7:22
I only copied the first user report. More user reports can be found in the
original
Chromium bug at http://crbug.com/42615.
Original comment by ddor...@google.com
on 3 Jun 2010 at 7:26
In the following thread, someone from Microsoft confirms that WinHttp does not
support
local files and that WinINET does. He also suggests a solution at the end of
the
thread.
https://groups.google.com/group/microsoft.public.winhttp/browse_thread/thread/43
fc7c8c1
7aa4e62?pli=1
Original comment by ddor...@google.com
on 3 Jun 2010 at 7:33
Omaha3 has been released, and adds support for local .PAC files.
Original comment by ryanmyers@google.com
on 19 Aug 2011 at 7:40
Original issue reported on code.google.com by
ddor...@google.com
on 3 Jun 2010 at 5:50