From: Alexei Kosut Date: Sun, 26 Jan 1997 01:31:14 +0000 (+0000) Subject: Update documentation for new KeepAlive syntax. X-Git-Tag: APACHE_1_2b5~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b29d8772c9cd1404ecb07d76c1d0a6c5c692185c;p=apache Update documentation for new KeepAlive syntax. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77503 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 4064a8ba65..7d63eda3c8 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -38,6 +38,7 @@ always available.
  • Listen
  • <Location>
  • MaxClients +
  • MaxKeepAliveRequests
  • MaxRequestsPerChild
  • MaxSpareServers
  • MinSpareServers @@ -544,8 +545,10 @@ simple multiple-module tests.


    KeepAlive

    -Syntax: KeepAlive max-requests
    -Default: KeepAlive 5
    +Syntax: (Apache 1.1) KeepAlive max-requests
    +Default: (Apache 1.1) KeepAlive 5
    +Syntax: (Apache 1.2) KeepAlive on/off
    +Default: (Apache 1.2) KeepAlive On
    Context: server config
    Status: Core
    Compatibility: KeepAlive is only available in Apache @@ -553,11 +556,17 @@ simple multiple-module tests. This directive enables Keep-Alive -support. Set max-requests +support. + +

    Apache 1.1: Set max-requests to the maximum number of requests you want Apache to entertain per request. A limit is imposed to prevent a client from hogging your server resources. Set this to 0 to disable support. +

    Apache 1.2 and later: Set to "On" to enable +persistent connections, "Off" to disable. See also the MaxKeepAliveRequests directive.

    +

    KeepAliveTimeout

    Syntax: KeepAliveTimeout seconds
    Default: KeepAliveTimeout 15
    @@ -677,6 +686,20 @@ The MaxClients directive sets the limit on the number of simultaneous requests that can be supported; not more than this number of child server processes will be created.


    +

    MaxKeepAliveRequests

    +Syntax: MaxKeepAliveRequests number
    +Default: MaxKeepAliveRequests
    +Context: server config
    +Status: core
    +Compatibility: Only available in Apache +1.2 and later. + +

    The MaxKeepAliveRequests directive limits the number of requests +allowed per connection when KeepAlive is +on. If it is set to "0," unlimited requests will be +allowed. We reccomend that this setting is kept to a high value, for +maximum server peformance. +

    MaxRequestsPerChild directive

    Syntax: MaxRequestsPerChild number