Commit 73893a74 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wininet: Reinitialise NETCON on redirect.

parent 36ac9f86
......@@ -1865,6 +1865,7 @@ static BOOL HTTP_HandleRedirect(LPWININETHTTPREQW lpwhr, LPCWSTR lpszUrl, LPCWST
sizeof(struct sockaddr_in));
NETCON_close(&lpwhr->netConnection);
NETCON_init(&lpwhr->netConnection,lpwhr->hdr.dwFlags & INTERNET_FLAG_SECURE);
}
HeapFree(GetProcessHeap(), 0, lpwhr->lpszPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment