diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 6716c8080ca..d77e528ae72 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -5147,6 +5147,8 @@ static DWORD HTTP_HttpSendRequestW(http_request_t *request, LPCWSTR lpszHeaders, remove_header(request, szProxy_Authorization, TRUE); destroy_authinfo(request->proxyAuthInfo); request->proxyAuthInfo = NULL; + request->contentLength = 0; + request->netconn_stream.content_length = 0; secure_proxy_connect = FALSE; loop_next = TRUE;