Commit 5731c38a authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp: Don't fail the request if authorization fails.

Fixes a regression from 080dfbee. Signed-off-by: 's avatarHans Leidekker <hans@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 1aa359a1
......@@ -2736,7 +2736,7 @@ static DWORD receive_response( struct request *request, BOOL async )
{
if (request->hdr.disable_flags & WINHTTP_DISABLE_AUTHENTICATION) break;
if ((ret = handle_authorization( request, status ))) break;
if (handle_authorization( request, status )) break;
/* recurse synchronously */
if (!(ret = send_request( request, NULL, 0, request->optional, request->optional_len, 0, 0, FALSE ))) continue;
......
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