[jdev] s2s connections and presence
Wendell Turner
wendell at adsi-m4.com
Fri May 19 12:08:39 CDT 2006
I have some questions about s2s connections in jabberd 1.4.
Question 1:
romeo logs in to montague.com (sets status to online)
juliet logs in to capulet.com (sets status to online)
romeo received presence indication for juliet
juliet received presence indication for romeo
Jabber clients (psi in this case) show presence for both.
capulet.com crashes (tcp connections between montague.com
and capulet.com are torn down)
romeo's presence indication (that juliet is online) never
changes.
Is this how it is supposed to work? Is this behavior affected
by the queuetimeout or idletimeout in the s2s section of the
config file?
Would other servers (jabberd2, ejabberd) behave differently
(i.e., remove the presence indication when s2s tcp connections
die)?
Even when romeo tries to send a chat msg, an error is evenutally
sent back to the client, yet still the presence doesn't change.
Question 2:
romeo logs in to montague.com (sets status to online)
juliet logs in to capulet.com (sets status to online)
Both montague.com and capulet.com try to establish tcp
connections to each other, but are unsuccessful (Verona's
network is down). When Verona's networks come back up, what
mechanism in either server causes presence to 'reconnect'?
If either romeo or juliet sets their status to offline, then
back to online, that triggers the servers to re-try the
connections, but will the servers do it by themselves?
Wendell
More information about the JDev
mailing list