Deskflow previously lacked support for TCP keepalive, which meant that dead connections (such as those resulting from a terminated SSH tunnel or an ungraceful network interruption) could remain in the system's connection table indefinitely. This commit adds the setKeepAliveOnSocket method to the IArchNetwork abstraction and implements it for both BSD/Unix and Winsock/Windows backends. Keepalive is now enabled by default in TCPSocket::init, allowing the operating system to eventually detect and clean up stale connections. |
||
|---|---|---|
| .. | ||
| unix | ||
| win32 | ||
| Arch.cpp | ||
| Arch.h | ||
| ArchException.h | ||
| CMakeLists.txt | ||
| IArchDaemon.h | ||
| IArchLog.h | ||
| IArchMultithread.h | ||
| IArchNetwork.h | ||