Timeout protocol option [TO]

Specifies the length of time, in seconds, to wait for a response when establishing communications.

Usage

TCP/IP, HTTP, HTTPS

Values

Integer, in seconds

Default

5 for TCP/IP.

30 for HTTP and HTTPS.

Remarks

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

On the database server, this is the amount of time to wait after sending the broadcast looking for servers with the same name. It is only used on server startup, and does not affect client connections.

When using HTTP or HTTPS on the server, 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.

See also
Example

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

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