PATCH: handle redirect to https
Marcus Meissner
marcus at jet.franken.de
Mon Dec 12 01:40:24 CST 2005
Hi,
Redirect from http to https currently segfaults our
wininet implementation.
Exposed by the Google Earth update check.
Ciao, Marcus
Changelog:
When redirecting, do not forget to reinit NETCON.
Index: dlls/wininet/http.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/http.c,v
retrieving revision 1.134
diff -u -r1.134 http.c
--- dlls/wininet/http.c 8 Dec 2005 13:09:28 -0000 1.134
+++ dlls/wininet/http.c 12 Dec 2005 07:35:15 -0000
@@ -1865,6 +1865,7 @@
sizeof(struct sockaddr_in));
NETCON_close(&lpwhr->netConnection);
+ NETCON_init(&lpwhr->netConnection,lpwhr->hdr.dwFlags & INTERNET_FLAG_SECURE);
}
HeapFree(GetProcessHeap(), 0, lpwhr->lpszPath);
More information about the wine-patches
mailing list