[ejabberd] server doesnt tell about disconnected user
farooq at infinilogic.com
Wed Dec 13 18:29:22 MSK 2006
cant this be solved by sending a <recipient-unavailable/> message with error
rfc3920 (XMPP core) gives the provision for some error messages. cant they
In case of loss of network connectivity, sending data on the network would
result in error?
--------- Original message --------
From: Sergei Golovan <sgolovan at gmail.com>
To: ejabberd at jabber.ru <ejabberd at jabber.ru>
Subject: Re: [ejabberd] server doesnt tell about disconnected user
Date: 12-13-06 12:39
> On 12/13/06, Farooq wrote:
> i have noticed a problem in ejabberd-1.1-2 and jabberd-1.4 . When a user
> gets disconnected because of network failure - messages sent to the users
> are lost without any notification.
Jabber protocol does not have any mechanism of reliable message
delivery. It entirely relies on the underlying TCP protocol (which is
unreliable too, by te way).
In case of network failure ejabberd (I guess not only ejabberd) can't
figure it out before some TCP timeout reaches. All messages sent
before that are lost.
More information about the ejabberd