Home > |
---|
The connection timeout is not configurable.
On Unix platforms, the client performs a "connect" on the socket. If the socket is busy or unavailable, the client performs a "select" on the socket with the timeout set to 10 seconds (hardcoded). If the "select" call returns before the timeout, then the client is able to connect. If not then it fails. This prevents the situation where some Unix operating systems can block for several minutes when SafeNet Network HSM is unavailable.
On Windows platforms, "connect" is called without "select", relying upon the default Windows timeout of approximately 20 seconds.