handshake_timeout

handshake_timeout = seconds

The amount of time that the EMS server waits for an incoming connection to complete depends on the server_timeout_server_connection and server_timeout_client_connection properties.

If either is specified, the connection handshake times out only after the duration mentioned in one of these properties. If both are specified, the largest of the two values is used. If neither is specified, you can set the period (in seconds) using handshake_timeout. The period specified must be a positive integer. If absent, the timeout defaults to 3 seconds. When the timeout is reached, the EMS server closes the connection and continues handling other clients.

The handshake_timeout server property, in addition to controlling the wait time for an incoming connection to complete, also controls:

  • The amount of time that the server waits for an outgoing route connection to complete;
  • The amount of time the server waits for an incoming TLS connection to complete the TLS handshake. Note that this is independent from the wait time for the incoming TLS connection to complete.