388d014888
Keepalive settings are usually (depending on the implementation) only used if the TCP connection is idle. If the network is interrupted/disconnected/... click or keyboard input generates outgoing traffic therefore the connection isn't idle anymore and keepalives might not be used causing the connection to stay open and the client to stall. Linux 2.6.36 added a TCP_USER_TIMEOUT TCP socket option that lets a program specify the maximum time transmitted data may remain unacknowledged before TCP will close the corresponding connection with ETIMEDOUT. Setting TCP_USER_TIMEOUT allows us to detect a network problem (like cable disconnect) even if the connection isn't idle. |
||
---|---|---|
.. | ||
cache | ||
codec | ||
common | ||
core | ||
crypto | ||
gdi | ||
locale | ||
primitives | ||
utils | ||
CMakeLists.txt |