[JDEV] Heartbeat patch for dialup and laptop users and faulty presence info
Bernd Eckenfels
lists at lina.inka.de
Wed May 29 15:45:07 CDT 2002
On Wed, May 29, 2002 at 04:31:44PM +0200, admin at jabber.fsinf.de wrote:
> I agree the issue needs to be resolved. I find your current solution
> simple. Any server admin that does not want that extra traffic can
> disable it (BTW any simple way to configure the "ping" interval?).
There should be a ping interval at least. One can then hardcode the timeout
to be 3 time ping interval or anything. Note that a timeout is not strictly
needed, since the ping alone will detect reset connections, but the timeout
can do that faster than the usual TCP retry times, and it can detect
dead/hanging clients.
> Well, in case anyone has a better idea he is free to contribute. For the
> time being your solution seems okay especially for it does not need
> protocol or client changes.
Well, it does need a protocol change, because it needs the Ping and Pong
Messages. You can go without the Pong, but then you can't measure timeout
and rountdtrip.
Greetings
Bernd
--
(OO) -- Bernd_Eckenfels at Wendelinusstrasse39.76646Bruchsal.de --
( .. ) ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
o--o *plush* 2048/93600EFD eckes at irc +497257930613 BE5-RIPE
(O____O) When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
More information about the JDev
mailing list