Commit 9caf603a authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

winhttp: Do not open connection in handle_redirect().

Let send_request() do it.
parent 7d81575c
......@@ -2733,7 +2733,6 @@ static DWORD handle_redirect( struct request *request, DWORD status )
else free( hostname );
if ((ret = add_host_header( request, WINHTTP_ADDREQ_FLAG_ADD | WINHTTP_ADDREQ_FLAG_REPLACE ))) goto end;
if ((ret = open_connection( request ))) goto end;
free( request->path );
request->path = NULL;
......
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