Timeout parameter [TO]

Usage

TCP/IP (all platforms), HTTP, HTTPS

Values

Integer, in seconds

Default

5

Description

TIMEOUT specifies the length of time, in seconds, to wait for a response when establishing communications and when disconnecting. You may want to try longer times if you are having trouble establishing TCP/IP communications.

In HTTP or HTTPS applications, this parameter specifies the maximum idle time permitted when receiving a request. If this limit is reached, the connection is closed and a 408 REQUEST TIMEOUT is returned to the client. The value 0 disables idle timeout, but should be used with extreme caution. Without this limit, a rogue client could consume the server's resources and prevent other clients from connecting.

Example

The following data source fragment starts a TCP/IP communications link only, with a timeout period of twenty seconds.

...
CommLinks=tcpip(TO=20)
...