Dan Hipschman : wininet: Don' t forget the INTERNET_STATUS_REDIRECT callback in HttpEndRequest.
Module: wine Branch: master Commit: d3051cba22db94b5f419790230372d06bc53a100 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d3051cba22db94b5f419790230... Author: Dan Hipschman <dsh(a)linux.ucla.edu> Date: Wed Apr 23 15:33:18 2008 -0700 wininet: Don't forget the INTERNET_STATUS_REDIRECT callback in HttpEndRequest. --- dlls/wininet/http.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 3f50d5c..0f7df63 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -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);
participants (1)
-
Alexandre Julliard