Module: wine Branch: master Commit: 9caf603ad69e2de9109886331539954328e6881f URL: https://gitlab.winehq.org/wine/wine/-/commit/9caf603ad69e2de9109886331539954...
Author: Paul Gofman pgofman@codeweavers.com Date: Mon Nov 28 12:37:33 2022 -0600
winhttp: Do not open connection in handle_redirect().
Let send_request() do it.
---
dlls/winhttp/request.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c index 1a9b4e14ee8..e04d5a04e9d 100644 --- a/dlls/winhttp/request.c +++ b/dlls/winhttp/request.c @@ -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;