Article ID: 2745582 - View products that this article applies to.
Expand all | Collapse all

On This Page

Introduction

This article describes a hotfix that resolves issues in the Microsoft .NET Framework 4.5. 

More information

Issues that this hotfix resolves

Issue 1

When 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 1

The 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 2

Assume 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 3

A thread pool freezes in the HttpWebRequest class if an HTTPS request is aborted during an SSL renegotiation while a write operation is pending.

Cause 3

This 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.

RESOLUTION

Hotfix information

A 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=support
Note 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.

Prerequisites

To apply this hotfix, you must have the .NET Framework 4.5 installed on a computer that is running one of the following operating systems:
  • Windows 7
  • Windows 7 Service Pack 1
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1
  • Windows Server 2008 Service Pack 2
  • Windows Vista Service Pack 2

Restart requirement

You 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 information

The 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
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.dll4.0.30319.190213,449,30413-Sep-201201:07x86
For all supported x64-based versions of the .NET Framework 4.5
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.dll4.0.30319.190213,449,30413-Sep-201201:07x64

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

For more information about the HttpWebRequest class, go to the following MSDN website:
General information about the HttpWebRequest class
For more information about the SslStream class, go to the following MSDN website:
General information about the SslStream class

Properties

Article ID: 2745582 - Last Review: November 23, 2012 - Revision: 2.0
Applies to
  • Microsoft .NET Framework 4.5
Keywords: 
kbhotfixserver kbsurveynew kbqfe kbfix kbexpertiseadvanced KB2745582

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com