[JDEV] Presence probe requests
Matt Kearse
matt at netwinsite.com
Tue Apr 1 16:31:03 CST 2003
> Huh??? But if you are talking about s2s then its not supposed to, in s2s it
> is your responsibility to send the unavailable presence of users on your
> server and if you server goes down, its not something wrong with the
> protocol its you seeming to not follow it.
I am the person who originally raised this issue for our own custom
server (http://netwinsite.com/dbabble) that I am implementing the
Jabber protocol for. But I suspect the person you are replying to here
is actually referring to jabberd (not his/her own server
implementation.) From the quick test I ran, it seems jabberd does not
implement this properly and can easily get the status of users out of
sync with the transports when the server is restarted.
There are also other problems to do with the fact that the Jabber
protocol was not originally designed to have reliable message and
status delivery, but rather just intends to achieve message and status
delivery most of the time. This shows up when a user sends a message,
and a momentary problem with the network connection between 2 servers
means that the message is not delivered, but since the Jabber protocol
was not designed for message receipt acknowledgement the message can
just disappear with the sender thinking it has been sent, but the
recipient never actually receiving it. I realize there is a Jabber
enhancement proposal that suggests a way around this problem
(http://www.jabber.org/jeps/jep-0040.html). Do any Jabber server
implementations use this? Our own server protocol is designed to
ensure message delivery and user status notification is guaranteed in
all cases, and I find was was quite surprised to find the Jabber
protocol was never designed to ensure reliable message delivery in the
first place.
I guess I will just have to try and do my best to make the Jabber
part work most of the time. It shouldn't be too hard to make it
work more reliably than the current jabberd implementation, particularly
regarding dropped client connections and server restarts. Thanks
everyone for your help.
More information about the JDev
mailing list