[JDEV] Heartbeat patch for dialup and laptop users and faulty presence info
Nathan Sharp
spamnps+jabber at phoenix-int.com
Tue May 28 12:00:35 CDT 2002
As talked about earlier in this mailing list, I've created a patch to
the 1.4.2 server which makes the server send blank packets to all
connected clients once per time period if no other client activity has
happened. This allows the server to notice bum connections much faster.
I've tested this patch with a number of clients, but certainly not them
all. Exodus 0.6.0.0 will stop working if you use this feature, but
there is a fix in CVS for this (so look out for the next release).
I'm still not 100% satisfied w/ this solution. In my testing it can
still take 10-20 minutes for the server to notice laptop users who pull
the network cable while connected. The problem is that the network
tries to deliver the packets for a long time before giving up. I'd like
to eventually add something to handle this, but that will be more work,
and probably a JEP because it'd require protocol changes. If anyone has
ideas or thoughts, I'd be happy to discuss this.
Nathan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jabber.xml.patch
URL: <https://www.jabber.org/jdev/attachments/20020528/f08af705/attachment-0002.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: client.c.patch
URL: <https://www.jabber.org/jdev/attachments/20020528/f08af705/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: README.pthsock_client.patch
URL: <https://www.jabber.org/jdev/attachments/20020528/f08af705/attachment-0003.asc>
More information about the JDev
mailing list