Assume that you develop a Windows Store app that uses the Windows.Web.Http.HttpClient class to send HTTPS requests to a web server. When you capture a network trace of the traffic exchanged between the app and the server, you notice that each call to the Windows.Web.Http.HttpClient.GetStringAsync method or other similar methods of the Windows.Web.Http.HttpClient class opens new connections to the web server. This behavior adversely affects the app performance.
Note The Windows.Web.Http.HttpClient class uses the Windows Internet (WinINet) API to send HTTPS requests. This issue also occurs when you develop a Windows desktop application that uses the WinINet API directly and you provide the INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS flag to the HttpOpenRequest function.
Note The Windows.Web.Http.HttpClient class uses the Windows Internet (WinINet) API to send HTTPS requests. This issue also occurs when you develop a Windows desktop application that uses the WinINet API directly and you provide the INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS flag to the HttpOpenRequest function.