Network Stack Doesn't Detect Dead or Dropped Network Connections
|Reported by:||AGMS||Owned by:||nobody|
|Component:||Network & Internet||Version:||R1/Development|
|Keywords:||Dropped Dead Connection Timeout Disconnect Keep-alive||Cc:||agmsmith@…, ttcoder|
BeOS and Linux both detect dead network connections, while Haiku doesn't.
This is most annoying when running a BeShare server (Atrus is one, see http://haikuware.com/directory/view-details/internet-network/chat-irc/atrus plus you need the Muscle library too and the muscled daemon). Every time a connection is lost (client turned off their computer without shutting down (often because of a crash), or router was rebooted and didn't close the TCP stream) the result is a dead connection. The BeShare server and Atrus both still see the dead connection as existing, resulting in that user being logged in multiple times. With BeOS/Linux, the dead connection is noticed and disconnected after about a minute.
Maybe something to do with implementing keep-alive packets?