Httpd MaxKeepAliveRequests: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
* [[httpd Persistent Connection Configuration]] | * [[httpd Persistent Connection Configuration]] | ||
* [[httpd Configuration#Directives|httpd Configuration]] | * [[httpd Configuration#Directives|httpd Configuration]] | ||
=Overview= | |||
The maximum number of requests to allow during a persistent connection. Set to 0 to allow an unlimited amount. We recommend you leave this number high, for maximum performance. | |||
<pre> | |||
... | |||
MaxKeepAliveRequests 100 | |||
... | |||
</pre> | |||
A HTTP/1.1 client will automatically benefit from the persistent connection settings, and will get a persistent connection configured as per the content of [[Httpd KeepAlive|KeepAlive]], [[Httpd KeepAliveTimeout|KeepAliveTimeout]] and MaxKeepAliveRequests. A HTTP/1.0 client should explicitly declare that it wants a persistent connection, as described here: [[HTTP/1.0 Persistent Connections]]. |
Latest revision as of 23:27, 8 January 2017
External
Internal
Overview
The maximum number of requests to allow during a persistent connection. Set to 0 to allow an unlimited amount. We recommend you leave this number high, for maximum performance.
... MaxKeepAliveRequests 100 ...
A HTTP/1.1 client will automatically benefit from the persistent connection settings, and will get a persistent connection configured as per the content of KeepAlive, KeepAliveTimeout and MaxKeepAliveRequests. A HTTP/1.0 client should explicitly declare that it wants a persistent connection, as described here: HTTP/1.0 Persistent Connections.