[Bug 11555] New: Need a real WinHttpDetectAutoProxyConfigUrl, not a stub for .NET
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Feb 11 23:17:04 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=11555
Summary: Need a real WinHttpDetectAutoProxyConfigUrl, not a stub
for .NET
Product: Wine
Version: 0.9.54.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: joshudson at gmail.com
Am trying very slowly to get a particular large .NET app working under Wine.
I can't test anything under .55 due to a regression that makes the .NET
installer fail.
A first pass indicates we need a WinHttpDetectAutoProxyConfigUrl (it dies hard
otherwise). Funny, this always fail implementation is good enough, possibly
because it sets an error code or nulls out its result pointer.
OK, this patch creates one.
--- wine-0.9.54/dlls/winhttp/main.bak 2008-02-11 20:54:48.000000000 -0800
+++ wine-0.9.54/dlls/winhttp/main.c 2008-02-11 21:00:01.000000000 -0800
@@ -129,3 +129,16 @@
SetLastError(ERROR_NOT_SUPPORTED);
return NULL;
}
+
+/**********************************************************************
+ * WinHttpDetectAutoProxyUrl
+ */
+
+BOOL WINAPI WinHttpDetectAutoProxyConfigUrl(DWORD flags, LPWSTR *url)
+{
+ /* This can never work in this environment.
+ * Hope that it assumes transparent. */
+ SetLastError(ERROR_NOT_SUPPORTED);
+ *url = NULL;
+ return FALSE;
+}
--- wine-0.9.54/dlls/winhttp/winhttp.spec 2008-02-11 20:54:39.000000000
-0800
+++ wine-0.9.54/dlls/winhttp/winhttp.spec.bak 2008-02-11 20:52:39.000000000
-0800
@@ -8,7 +8,7 @@
@ stub WinHttpConnect
@ stub WinHttpCrackUrl
@ stub WinHttpCreateUrl
-@ stdcall WinHttpDetectAutoProxyConfigUrl(long ptr)
+@ stub WinHttpDetectAutoProxyConfigUrl
@ stub WinHttpGetDefaultProxyConfiguration
@ stdcall WinHttpGetIEProxyConfigForCurrentUser(ptr)
@ stub WinHttpGetProxyForUrl
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list