Commit 47a8b86b authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

wininet: Use Keep-Alive for HTTP requests if specified by the flags passed into HttpOpenRequest.

parent a9c2cfa8
......@@ -2302,7 +2302,8 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
HTTP_ADDREQ_FLAG_ADD | HTTP_ADDHDR_FLAG_REPLACE);
}
HTTP_ProcessHeader(lpwhr, szConnection, szClose,
HTTP_ProcessHeader(lpwhr, szConnection,
lpwhr->hdr.dwFlags & INTERNET_FLAG_KEEP_CONNECTION ? szKeepAlive : szClose,
HTTP_ADDHDR_FLAG_REQ | HTTP_ADDHDR_FLAG_REPLACE);
/* if there's a proxy username and password, add it to the headers */
......
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