Configure WebSEAL connection timeout settings
Edit the WebSEAL configuration file to configure the timeout settings for HTTP and HTTPS communication. The following flow diagram shows where the timeout settings affect an example request and response exchange. The number of fragments indicated for the request and the response are sample values.
The stanza entries for timeout settings are in the server stanza of the WebSEAL configuration file.
- client-connect-timeout
- How long WebSEAL holds the connection open for the initial HTTP or HTTPS request after the initial connection handshake. Default is 120 seconds.
[server] client-connect-timeout = 120intra-connection-timeout Number of seconds, between each request data fragment when request and response data is sent as two or more fragments. The stanza entry also governs the timeout between response data fragments after the first data fragment is returned by WebSEAL. Default is 60 seconds. [server] intra-connection-timeout = 60If the value of this stanza entry is 0, connection timeouts between data fragments are governed by the client-connect-timeout stanza entry. The exception to this rule occurs for responses that are returned over HTTP or TCP. In this case, there is no timeout between response fragments. If a connection timeout occurs on a non-first data fragment due to the intra-connection-timeout setting, a TCP reset packet is sent. persistent-con-timeout Maximum number of seconds that WebSEAL holds an HTTP persistent connection open for a new client request before the connection is shut down. The HTTP persistent connection opens after the HTTP request and server response exchange is complete. Default is 5 seconds. [server] persistent-con-timeout = 5If the value of this stanza entry is 0, the connection does not remain open for future requests. A value of zero causes WebSEAL to set the Connection: close header and then close the connection on every response. The timeout setting on the junction side is set by the persistent-con-timeout entry in the [junction] stanza.
Steps
- Log in to the local management interface.
- Select Web > Manage > Reverse Proxy.
- Select your instance.
- Select Manage > Configuration > Edit Configuration File.
- Edit the stanza using the information in About this task.
- Save and deploy your changes.
Parent topic: Communication protocol configuration