Microsoft KB Archive/320721

= Increasing Connection Limits with InternetSetOption Does Not Affect Visited Servers =

Article ID: 320721

Article Last Modified on 11/15/2007

-

APPLIES TO

 Microsoft Internet Explorer 5.5 Service Pack 2 Microsoft Internet Explorer 5.5 Service Pack 2 Microsoft Internet Explorer 5.5 Service Pack 2 Microsoft Internet Explorer 5.5 Service Pack 2 Microsoft Internet Explorer 6.0, when used with:  Microsoft Windows XP Home Edition

 Microsoft Windows XP Professional</li></ul>

 Microsoft Windows XP Media Center Edition 2002</li></ul>

 Microsoft Windows XP Tablet PC Edition</li></ul>

 Microsoft Windows 2000 Advanced Server</li></ul>

 Microsoft Windows 2000 Datacenter Server</li></ul>

 Microsoft Windows 2000 Professional Edition</li></ul>

 Microsoft Windows 2000 Server</li></ul>

 Microsoft Windows NT Server 4.0 Standard Edition</li></ul>

 Microsoft Windows NT Server 4.0, Terminal Server Edition</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows 98 Second Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q320721

<div class="symptoms_section">

SYMPTOMS
Wininet.dll limits connections to a single HTTP 1.0 server to four simultaneous connections. Connections to a single HTTP 1.1 server are limited to two simultaneous connections. The HTTP 1.1 specification (RFC 2068) mandates the two-connection limit. The four-connection limit for HTTP 1.0 servers is a self-imposed restriction that coincides with the standard that is used by several popular Web browsers.

In Internet Explorer 5 and later, you can change the connection limit programmatically by calling the InternetSetOption function on a null handle with the following flags (note that this changes the connection limit for the whole process):

INTERNET_OPTION_MAX_CONNS_PER_SERVER

INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER

However, if a process has established a connection to a server, and you then change the connection limit by calling InternetSetOption, the change does not have any effect on additional connections on the same server. This behavior occurs even if you disconnect the previous connection before you call InternetSetOption.

<div class="resolution_section">

Internet Explorer 6
To resolve this problem, obtain the latest service pack for Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to Obtain the Latest Windows XP Service Pack

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

The English version of this fix for IE 6.0 should have the following file attributes or later: <pre class="fixed_text">  Date         Time    Version        Size      File name -  1-May-2002   20:02   6.0.2717.100   582,656   Wininet.dll

Internet Explorer 5.5 Service Pack 2
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Internet Explorer 5.5 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix for Internet Explorer 5.5 SP2 should have the following file attributes or later: <pre class="fixed_text">  Date         Time    Version         Size      File name --  1-May-2002   19:52   5.50.4917.100   481,040   Wininet.dll

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows XP Service Pack 1.

<div class="moreinformation_section">

MORE INFORMATION
Note that this hotfix corrects a previous limitation. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

183110 INFO: WinInet Limits Connections Per Server

Additional query words: kbShell

Keywords: kbhotfixserver kbqfe kbbug kbfix kbie550presp3fix kbie600presp1fix kbshell kbwinxpsp1fix KB320721

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.