[jdev] Presence hiccups
Norman Rasmussen
norman at rasmussen.co.za
Thu Oct 2 02:34:47 CDT 2008
On Wed, Oct 1, 2008 at 11:13 PM, Adam Pisoni <apisoni at geni.com> wrote:
> Most xmpp servers we send to send back a 503 if we send a message to a
> user who is offline.
Servers should either store messages, or forward them to the highest online
resource (if the user has one). I thnk you're thinking about iq stanza's -
which should be rejected if the resource is offline. So change to iq's and
that should fix the problem.
> What is the best practice as far as how to deal with this.
> Do you expire resources eventually? Or probe if a resource hasn't
> been updated in some amount of time?
>
In an ideal world, you'd never have broken s2s, but it happens. My guess
would be to send a presence probe if the resource hasn't updated in the last
[x] hours.
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20081002/d592395c/attachment-0003.htm>
More information about the JDev
mailing list