From 1917fa6e6c083e6c44bb4c32a88abfc0c621a28a Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 21 Apr 2011 13:52:39 +0000 Subject: [PATCH] Move the maxConnections description to the correct part of the HTTP doc. Add it to the AJP doc. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1095711 13f79535-47bb-0310-9956-ffa450edef68 --- webapps/docs/config/ajp.xml | 12 ++++++++++-- webapps/docs/config/http.xml | 24 ++++++++++++++---------- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/webapps/docs/config/ajp.xml b/webapps/docs/config/ajp.xml index 212ac9b5b..5fc092c64 100644 --- a/webapps/docs/config/ajp.xml +++ b/webapps/docs/config/ajp.xml @@ -379,10 +379,18 @@ -

The BIO implementation supports the following Java TCP socket attributes - in addition to the common Connector and AJP attributes listed above.

+

The BIO implementation supports the following attributes in addition to + the common Connector and AJP attributes listed above.

+ +

The maximum number of connections that the server will accept and + process at any given time. When this number has been reached, the server + will not accept any more connections until the number of connections + falls below this value. The operating system may still accept + connections based on the acceptCount setting. Default value + is 10000.

+

(int)The socket receive buffer (SO_RCVBUF) size in bytes. JVM default used if not set.

diff --git a/webapps/docs/config/http.xml b/webapps/docs/config/http.xml index 28198f2d2..842a22434 100644 --- a/webapps/docs/config/http.xml +++ b/webapps/docs/config/http.xml @@ -373,15 +373,6 @@ execute tasks using the executor rather than an internal thread pool.

- -

The maximum number of connections that the server will accept and process - at any given time. When this number has been reached, the server will not accept any more - connections until the number of connections reach below this value. The operating system may still accept connections based - on the acceptCount setting. - This setting is currently only applicable to the blocking Java connectors (AJP/HTTP). - Default value is 10000.

-
-

Limits the total length of trailing headers in the last chunk of a chunked HTTP request. If the value is -1, no limit will be @@ -554,8 +545,21 @@ -

There are no BIO specific configuration settings.

+

The following attributes are specific to the BIO connector.

+ + + +

The maximum number of connections that the server will accept and + process at any given time. When this number has been reached, the server + will not accept any more connections until the number of connections + falls below this value. The operating system may still accept + connections based on the acceptCount setting. Default value + is 10000.

+
+ +
+
-- 2.11.0