[jdev] iq packet routing error
normanr at gmail.com
Fri Sep 23 17:37:02 CDT 2005
I think I may have found another case that breaks 220.127.116.11:
For presence stanzas other than those of type "probe", the
server MUST deliver the stanza to all available resources;
for presence probes, the server SHOULD reply based on the
rules defined in Presence Probes (Section 5.1.3). In
addition, the server MUST NOT rewrite the 'to' attribute
(i.e., it MUST leave it as <user at domain> rather than change
it to <user at domain/resource>).
I'm busy testing my irc component, and when I send an unsubscribe from
the component to my user it only goes to the highest resource.
<presence xmlns="jabber:client" to="norman at darkskies.za.net"
from="ircdev.jabber.darkskies.za.net" id="12" type="unsubscribed" />
on highest resource (6):
<presence from="irc.zanet.net at ircdev.jabber.darkskies.za.net"
type="unsubscribed" id="12" to="norman at darkskies.za.net" />
nothing appears on lowest resource (2) - can't confirm middle resource
because it's at another location.
It seems like the code is only catering for 18.104.22.168, where the
presence stanza would be sent when the user next creates an available
resource (which would of course be the highest).
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
More information about the JDev