SUMMARY:
This article describes how to change the default HTTP keep-alive value in Microsoft Internet Explorer.
When Internet Explorer establishes a persistent HTTP connection with a Web server (by using Connection: Keep-Alive headers), Internet Explorer reuses the same TCP/IP socket that was used to receive the initial request until the socket is idle for one minute. After the connection is idle for one minute, Internet Explorer resets the connection. A new TCP/IP socket is used to receive additional requests. You may want to change the HTTP KeepAliveTimeout value in Internet Explorer.
If either the client browser (Internet Explorer) or the Web server has a lower KeepAlive value, it is the limiting factor. For example, if the client has a two-minute timeout, and the Web server has a one-minute timeout, the maximum timeout is one minute. Either the client or the server can be the limiting factor.
By default, Internet Explorer has a
KeepAliveTimeout
value of one minute and an additional limiting factor (
ServerInfoTimeout
) of two minutes. Either setting can cause Internet Explorer to reset the socket.
MORE INFORMATION
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756
(http://support.microsoft.com/kb/322756/ )
How to back up and restore the registry in Windows
You may have to increase the default time-out value for persistent HTTP connections in Internet Explorer if you are using a Web program that must communicate with Internet Explorer over the same TCP/IP socket after one idle minute. To change the default time-out value for persistent HTTP connections in Internet Explorer, add a DWORD value that is named
KeepAliveTimeout
to the following registry key, and then set its value data to the time (in milliseconds) that you want Internet Explorer to wait before resetting an idle connection:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings
To do this, follow these steps:
1.Click Start, click Run, type regedit, and then click OK.
2.Locate and then click the following key in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings
3.On the Edit menu, point to New, and then click DWORD Value.
4.Type KeepAliveTimeout, and then press ENTER.
5.On the Edit menu, click Modify.
6.Type the appropriate time-out value (in milliseconds), and then click OK. For example, to set the time-out value to two minutes, type 120000.
7.Restart Internet Explorer.
If you set the
KeepAliveTimeout
value to less than 60,000 (one minute), you may have problems communicating with Web servers that require persistent HTTP connections. For example, you may receive a "Page cannot be displayed" error message.
If you must have a
KeepAliveTimeout
value higher than 120000 (two minutes), you must create an additional registry key and set its value equal to the
KeepAliveTimeout
value that you want. The additional registry key is
ServerInfoTimeout
. It is a DWORD with a value (in milliseconds) and in the same location as
KeepAliveTimeout
.
For example, to use a three-minute
KeepAliveTimeout
value, you must create the following registry keys:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings
KeepAliveTimeout
DWORD value 180000 (in milliseconds)
ServerInfoTimeout
DWORD value 180000 (in milliseconds)
By default, HTTP 1.1 is enabled in Internet Explorer except when you establish an HTTP connection through a proxy server. When HTTP 1.1 is enabled, HTTP connections remain open (or persistent) by default until the connection is idle for one minute or until the value that is specified by the
KeepAliveTimeout
value in the registry is reached. You can modify HTTP 1.1 settings in Internet Explorer by using the Advanced tab in the Internet Options dialog box.
分享到:
相关推荐
unity幸运转盘代码,有美术资源,有源码,
How to Own the Internet in Your Spare Time
How-to Guide%3a Implement Value Helps in GenIL Components
Shows how to change the background color of an RTF box.
Using the --keepalive flag will add the Connection: Keep-Alive header to the HTTP request. On vulnerable servers, this will increase the duration of connections considerably. -p, --port HTTPLoris ...
use 7-zip to unzip By Insup Lee, Joseph Y-T.... the Handbook of Real-Time and Embedded Systems facilitates advancements in this area so that the services we rely on can continue to operate successfully.
How to Engage Customers in Your E-Commerce Website 44 Principles of Effective Search in E-Commerce Design 60 15 Common Mistakes in E-Commerce Design (Part I) 84 15 Common Mistakes in E-Commerce ...
Written by ARM’s Senior Embedded Technology Manager, Joseph Yiu, the book is packed with examples on how to use the features in the Cortex-M0 and Cortex-M0+ processors. It provides detailed ...
Advanced - Multithreading - How-To Async Calls Advanced - Remoting - How-To TCP Remoting Advanced - Serialization - How-To Serializing Objects Advanced .NET Framework (GDI+) - Animation with GDI+ ...
How to change the default language for Rational Software Development Platform desktop products
If you want to change the file, don't forget to save the file in the editor (without changing the filename). While the editor is opened, FinalBIG will block access to this specific file. This is to ...
This demonstrates how to change the height of a combobox’s drop-down height using API.
Storm Applied is a practical guide to using Apache Storm for the real-world tasks associated with processing and analyzing real-time data streams. This immediately useful book starts by building a ...
How and why I came to use Python In 1999, the College Board's Advanced Placement (AP) Computer Science exam was given in C++ for the ˉrst time. As in many high schools throughout the country, the ...
( FreeCAD [How-to] Solid Modeling with the power of Python 2012.pdf )
This e-book will show you how to program a one-time pad encryption system in C++. This e-book contains all the source code, full explanation of how the program works and a screenshot of the output. ...
--timeout XX Timeout in milliseconds to wait for each reply. Default is 2000 ms (2 seconds). --wait XX How long to wait in milliseconds between sending packets. Default is 1000 ms (1 second). ...
50+ Examples of Movie Color Palettes
C++ How to Program presents leading-edge computing technologies in a friendly manner appropriate for introductory college course sequences, based on the curriculum recommendations of two key ...
Clocking Situations" paper [1], the authors will demonstrate how to correctly analyze and constrain several different implementations of the DDR interface. In the process, the authors will ...