http://bugs.winehq.org/show_bug.cgi?id=22017
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2010-03-12 14:34:40 --- Excellent, thanks. Here's where the trouble starts to appear:
trace:wininet:InternetOpenA ("Symantec LiveUpdate", 0x00000003, "http=localhost:3128", (null), 0x00000000)
Note the proxy server setting. This is saved in the appinfo_t in internet.c, line 810: lpwai->lpszProxy = heap_strdupW(lpszProxy);
Later, in HttpOpenRequestW, the proxy code assumes that every proxy setting begins with "http://". If it doesn't, it prepends it. This leads to the following line in the log:
trace:wininet:InternetCrackUrlW (L"http://http=localhost:3128" 0 0 0x33d40c)
Heh. Predictably, this fails:
trace:wininet:GetAddress L"http=localhost" trace:wininet:GetAddress failed to get IPv4 address of L"http=localhost" (No address associated with hostname), retrying with IPv6
This type of proxy setting is allowed, see "Enabling Internet Functionality" on MSDN: http://msdn.microsoft.com/en-us/library/aa383996(VS.85).aspx