[JDEV] Transport problem

Eric Bowersox ebowersox at jabber.com
Thu Jun 22 16:24:53 CDT 2000


> If a transport crashes, no "unavailable" presence is sent - thus no 
> way for clients to show them correctly as offline. I'm not sure if 
> it's possible to fix this easily, but maybe someone good take a look 
> at it. It's really anonying...

You're right, it is annoying.  You're also right in that there's no way to
fix it easily.  In fact, I don't think there's a way to fix it at all.  The
transports themselves send their presence messages; if a transport crashes
(or gets kill -9'd or some such), obviously, it has no way of sending an
"unavailable" presence, because it's *gone*! :-)

This is not the case for "graceful" shutdowns (such as what happens when you
send icq-t a SIGTERM); there, the transport can close all connections, send
"unavailable" presence, etc., before it exits.

					Eric

--
Eric J. Bowersox - Jabber Inc. - ebowersox at jabber.com
<mailto:ebowersox at jabber.com>   http://www.jabber.com
OpenProjects IRC #jabber: erbo  - Advogato: Erbo
"AIM is to Jabber as Notepad is to emacs" - washort, #jabber




More information about the JDev mailing list