PATCH: wininet / NETCON_init on redirect
Marcus Meissner
marcus at jet.franken.de
Tue Dec 13 01:18:16 CST 2005
Hi,
resubmit, after rob agrees :)
When redirecting from HTTP -> HTTPS we need to reinit NETCON in SSL mode,
otherwise the SSL functions are not set up.
Ciao, Marcus
Changelog:
Reinitialise NETCON on redirect.
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