On Thu Dec 11 13:19:46 2008, Tomasz Sterna wrote: > Dnia 2008-12-11, czw o godzinie 13:59 +0100, Jonathan Schleifer > pisze: > > So the the problem is the timeout in Gajim, and disabling it > helps, as > > Dave already said. But disabling it is not always the best > solution, > > because then you also won't notice when the connection is really > dead. > > Whitespace keepalive sent every now and then detects dead connection > pretty fine.
You're thinking the TCP retransmission timeout, and max retries as well, which'll typically break the connection are around 10-30 minutes or so *if* there's data being sent - by sending whitespace you simply force that condition. A completely silent connection has no timeout at all, and this is by design - as long as IP addresses don't change, you can completely lose the network without any damage. In order to detect a downed connection properly, you need to use either 198 or 199 pings. Dave. -- Dave Cridland - mailto:[EMAIL PROTECTED] - xmpp:[EMAIL PROTECTED] - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/ - http://dave.cridland.net/ Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade _______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
