wininet: Reinitialise NETCON on redirect.

oldstable
Marcus Meissner 2005-12-13 11:12:09 +01:00 committed by Alexandre Julliard
parent 36ac9f8665
commit 73893a74fd
1 changed files with 1 additions and 0 deletions

View File

@ -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);