wininet: Fix HTTP redirects by reseting loop_next after one loop.
This commit is contained in:
parent
7e1fead3fb
commit
14fb418942
|
@ -2225,7 +2225,7 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
|
|||
BOOL bSuccess = FALSE;
|
||||
LPWSTR requestString = NULL;
|
||||
INT responseLen;
|
||||
BOOL loop_next = FALSE;
|
||||
BOOL loop_next;
|
||||
INTERNET_ASYNC_RESULT iar;
|
||||
|
||||
TRACE("--> %p\n", lpwhr);
|
||||
|
@ -2253,6 +2253,8 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
|
|||
DWORD len;
|
||||
char *ascii_req;
|
||||
|
||||
loop_next = FALSE;
|
||||
|
||||
if (TRACE_ON(wininet))
|
||||
{
|
||||
LPHTTPHEADERW Host = HTTP_GetHeader(lpwhr,szHost);
|
||||
|
|
Loading…
Reference in New Issue