Attribute |
Description |
acceptCount |
The maximum length of the Connection Request queue when all possible request processing threads are used. If the queue is full, all requests are rejected. The default value is 10. |
address |
For a server with multiple IP addresses, this attribute specifies the address used to listen to a specific port. By default, the port acts on all IP addresses of the server. |
bufferSize |
Input stream buffer created by ctorSize(In bytes ). By default, buffersize = 2048. |
compression |
To save server bandwidth, connector may use HTTP/1.1GzipCompression. The acceptable value of this parameter is "off" (no compression is used), "on" (compressed text data), and "force" (forcibly compressed in all cases ), or use a numerical INTEGER (equivalent to "on", but specify the minimum number of data that the output is compressed ). If Content-Length is unknown and compression is set to "on" or stronger, the output will also be compressed. If not specified, this attribute is set to "off" |
connectionLinger |
When the socket used by connector is closed, the time for retaining the socket, in milliseconds. The default value is-1 (socket linger is not used) |
connectionTimeout |
After connector accepts a connection, wait for the first request to take effect, in milliseconds. The default value is 60000 (60 seconds) |
debug |
The log message details. The larger the number, the more detailed the output. If not specified, the default value 0 is used. |
disableUploadTimeout |
This flag allows the servlet iner to use a different, longer connection timeout when executing a servlet. The final result is to give the servlet a longer time to complete its execution, or a longer time-out period during data upload. If not specified, set it to false. |
maxKeepAliveRequests |
The maximum number of HTTP requests received before the server closes the connection. If this value is set to 1, HTTP/1.0 and pipelining are disabled. If not specified, set it to 100. |
maxSpareThreads |
The maximum number of unused request processing threads allowed before the thread pool starts to stop unnecessary threads. The default value is 50. |
maxThreads |
The maximum number of request processing threads that can be created by connector. This value determines the maximum number of requests that can be processed simultaneously. If not specified, the default value is 200. |
minSpareThreads |
Number of request processing threads created when ctor Ctor is started for the first time. Connector must also ensure a specified number of idle processing threads. This value should be set to a value smaller than maxthreads. The default value is 4. |
port |
The TCP port number that the connector creates the server socket and waits for connection. The operating system allows only one server application to listen to a specific port on a specific IP address. |
protocol |
To use an HTTP processor, the attribute value must be HTTP/1.1 (default) |
proxyName |
If connector is used in proxy configuration, set this attribute to the name of the server returned when request. getservername () is called. For more information, see Proxy Support. |
proxyPort |
If connector is used in proxy configuration, this attribute specifies the port value returned by calling request. getserverport. For more information, see Proxy Support. |
socketBuffer |
Socket output bufferSize. If it is-1, no buffer is used. The default value is 9000 bytes. |
tcpNoDelay |
If it is true, the tcp_no_delay option is set for the server socket, which can improve the performance in most cases. The default value is true. |