Article ID: 2745582 - View products that this article applies to.
This article describes a hotfix that resolves issues in the Microsoft .NET Framework 4.5.
Issues that this hotfix resolves
Issue 1When you use a .NET Framework 4.5-based application that uses asynchronous APIs in order to read chunked responses, the chunked responses may be read synchronously.
Cause 1The HttpWebRequest class lets callers read an HTTP response either synchronously or asynchronously. However, if the response is a chunked HTTP response, then parts of the response are read by using synchronous I/O (Winsock calls) even when the caller uses the asynchronous code path. In this situation, the calling thread is blocked until data is received on the network.
Issue 2Assume that you have a .NET Framework 4.5-based application that communicates with a server over the Transport Layer Security/Secure Sockets Layer (TLS/SSL) protocol by using the HttpWebRequest or SslStream class. If the server requests an SSL renegotiation while the application is sending data, the application may encounter an unhandled exception and then crash.
Issue 3A thread pool freezes in the HttpWebRequest class if an HTTPS request is aborted during an SSL renegotiation while a write operation is pending.
Cause 3This issue occurs because of a race condition that may occur when the HttpWebRequest class or the SslStream class handles SSL renegotiation. In this situation, the thread pool may create more and more threads. Additionally, the resources that are held in memory are not cleared.
Hotfix informationA supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
PrerequisitesTo apply this hotfix, you must have the .NET Framework 4.5 installed on a computer that is running one of the following operating systems:
Restart requirementYou must restart the computer after you install the hotfix if the affected files are being used during the installation. We recommend that you exit all applications that use the .NET Framework before you install the hotfix.
File informationThe global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of the .NET Framework 4.5
For all supported x64-based versions of the .NET Framework 4.5
Collapse this tableExpand this table
Collapse this tableExpand this table
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the HttpWebRequest class, go to the following MSDN website:
General information about the HttpWebRequest classFor more information about the SslStream class, go to the following MSDN website:
General information about the SslStream class