Commit ea0dae6d authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wininet: Fix https connections over proxy.

Successful CONNECT request switch to tunnel instead of having a message body. Signed-off-by: 's avatarPiotr Caban <piotr@codeweavers.com> Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 1ba91ec9
...@@ -5147,6 +5147,8 @@ static DWORD HTTP_HttpSendRequestW(http_request_t *request, LPCWSTR lpszHeaders, ...@@ -5147,6 +5147,8 @@ static DWORD HTTP_HttpSendRequestW(http_request_t *request, LPCWSTR lpszHeaders,
remove_header(request, szProxy_Authorization, TRUE); remove_header(request, szProxy_Authorization, TRUE);
destroy_authinfo(request->proxyAuthInfo); destroy_authinfo(request->proxyAuthInfo);
request->proxyAuthInfo = NULL; request->proxyAuthInfo = NULL;
request->contentLength = 0;
request->netconn_stream.content_length = 0;
secure_proxy_connect = FALSE; secure_proxy_connect = FALSE;
loop_next = TRUE; loop_next = TRUE;
......
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