Skip to content
Snippets Groups Projects
Commit d3051cba authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard
Browse files

wininet: Don't forget the INTERNET_STATUS_REDIRECT callback in HttpEndRequest.

parent 2f2ccbd7
No related branches found
No related tags found
No related merge requests found
......@@ -878,6 +878,9 @@ BOOL WINAPI HttpEndRequestW(HINTERNET hRequest,
HeapFree(GetProcessHeap(),0,lpwhr->lpszVerb);
lpwhr->lpszVerb = WININET_strdupW(szGET);
HTTP_DrainContent(lpwhr);
INTERNET_SendCallback(&lpwhr->hdr, lpwhr->hdr.dwContext,
INTERNET_STATUS_REDIRECT, szNewLocation,
dwBufferSize);
rc = HTTP_HandleRedirect(lpwhr, szNewLocation);
if (rc)
rc = HTTP_HttpSendRequestW(lpwhr, NULL, 0, NULL, 0, 0, TRUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment