wininet: Fix https connections over proxy.
Successful CONNECT request switch to tunnel instead of having a message body. Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1ba91ec9b4
commit
ea0dae6db2
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue