iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-23
KeepAliveMaxRequest
The timeout-value has a range from 0 seconds to the value of the InputTimeout
directive. A value of 0 causes the server not to create persistent connections; that is, the
server will behave as in previous releases.
Default
KeepAliveTimeout 15
Example
KeepAliveTimeout 30
KeepAliveMaxRequest
Syntax
KeepAliveMaxRequest integer-value
Description
Use the KeepAliveMaxRequest directive to specify the number of requests the iTP
Secure WebServer should handle before closing a persistent connection.
Persistent connections are a feature introduced in the HTTP/1.1 protocol to improve
performance. In earlier versions of HTTP, each request for a URL resulted in a new
connection. Serving a page often requires many requests (for example to include a
graphics file in a page of text), so a complex page could take considerable time to load.
When a server supports persistent connections, it establishes a connection when the user
makes a request; the connection stays open for the series of related requests the client
makes of the server.
This directive lets you control how many requests the server will accept on the same
connection. If the number is exceeded, the server closes the connection; when the next
request arrives, the server creates a new connection. The user does not experience any
disruption of service.
The integer-value has a range from 2 to 256. A value less than 0 or greater than
256 results in an error message. A value of 0 or 1 disables persistent connections.
Default
KeepAliveMaxRequest 100
Example
KeepAliveMaxRequest 50