<div dir="ltr">On Thu, Oct 2, 2008 at 5:54 AM, Pedro Melo <span dir="ltr"><<a href="mailto:melo@simplicidade.org">melo@simplicidade.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="Ih2E3d"><br>
On Oct 1, 2008, at 10:13 PM, Adam Pisoni wrote:<br>
<br>
> Most xmpp servers we send to send back a 503 if we send a message to a<br>
> user who is offline. When we get a 503 we mark that JID as offline<br>
> so we do not continue sending them messages. The real issue is gtalk,<br>
> which supports offline messaging and never tells you whether a JID is<br>
> offline. A few of our users have complained that they're still<br>
> getting messages from us when they're offline, which gtalk them emails<br>
> them. I know the rabbiter guys have talked about having the same<br>
> problems. What is the best practice as far as how to deal with this.<br>
> Do you expire resources eventually? Or probe if a resource hasn't<br>
> been updated in some amount of time?<br>
<br>
</div>I would either presence probe or IQ ping the resource every X hours if<br>
no activity is detected.<br>
<br>
Not pretty, but this is the real world.<br>
</blockquote><div><br>Ghosts happen. :) <br><br>Sadly, this is the solution I use in components too. If you are supporting multiple resources it is the easiest solution. I have not come up with a better one for ghosts. <br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Best regards,<br>
<font color="#888888">--<br>
Pedro Melo<br>
Blog: <a href="http://www.simplicidade.org/notes/" target="_blank">http://www.simplicidade.org/notes/</a><br>
XMPP ID: <a href="mailto:melo@simplicidade.org">melo@simplicidade.org</a><br>
Use XMPP!<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
JDev mailing list<br>
FAQ: <a href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>
Forum: <a href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
</div></div></blockquote></div><br></div>