Created
May 15, 2009 13:55
-
-
Save sudara/112218 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.5) Connections expiration time | |
-------------------------------- | |
It is possible (and recommended) to configure several time-outs on TCP | |
connections. Three independant timers are adjustable with values specified | |
in milliseconds. A session will be terminated if either one of these timers | |
expire. | |
- the time we accept to wait for data from the client, or for the client to | |
accept data : 'clitimeout' : | |
# client time-out set to 2mn30. | |
clitimeout 150000 | |
- the time we accept to wait for data from the server, or for the server to | |
accept data : 'srvtimeout' : | |
# server time-out set to 30s. | |
srvtimeout 30000 | |
- the time we accept to wait for a connection to establish on a server : | |
'contimeout' : | |
# we give up if the connection does not complete within 4 seconds | |
contimeout 4000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment