On Wed, Oct 1, 2008 at 11:13 PM, Adam Pisoni <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
_______________________________________________

Reply via email to