Httpd MaxKeepAliveRequests: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypass =Internal= * httpd Configuration#Directives")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
=External=


* https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypass
* https://httpd.apache.org/docs/2.4/mod/core.html#maxkeepaliverequests


=Internal=
=Internal=


* [[httpd Configuration#Directives]]
* [[httpd Persistent Connection 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.