[jdev] iq packet routing error

Norman Rasmussen normanr at gmail.com
Fri Sep 23 17:37:56 CDT 2005


oops, just to clarify: the subject is wrong, it's a presence packet
routing error.

On 24/09/05, Norman Rasmussen <normanr at gmail.com> wrote:
> re: http://j2.openaether.org/bugzilla/show_bug.cgi?id=93
>
> I think I may have found another case that breaks 11.1.4.2:
>            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.
>
> componet:
> <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 11.1.5.1, 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/
>


--
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list