tcp: set the timeout to 9s
Set the TCP_USER_TIMEOUT to 9s as suggested by @giox069. See #3015 for details
This commit is contained in:
parent
8b9c40248a
commit
be02849ece
@ -1027,7 +1027,7 @@ BOOL freerdp_tcp_set_keep_alive_mode(int sockfd)
|
||||
#endif
|
||||
|
||||
#ifdef TCP_USER_TIMEOUT
|
||||
optval = 60000;
|
||||
optval = 9000;
|
||||
optlen = sizeof(optval);
|
||||
|
||||
if (setsockopt(sockfd, SOL_TCP, TCP_USER_TIMEOUT, (void*) &optval, optlen) < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user