[jdev] Re: iq packet routing error

Norman Rasmussen normanr at gmail.com
Thu Oct 6 16:53:10 CDT 2005


just to confirm this breaks with both 'subscribe' and 'unsubscribe'
events.  jabberd2 is not treating 5.1.6 correctly:

   If there is more than one available resource
   associated with the user when the subscription request is received by
   the user's server, the user's server MUST broadcast that subscription
   request to all available resources in accordance with Server Rules
   for Handling XML Stanzas (Section 11)

at the moment the presence packet is only going to highest resource.

FYI: the iq:roster push with the new subscription status _is_ going to
all resources correctly.

On 25/09/05, Norman Rasmussen <normanr at gmail.com> wrote:
> Created as bug #128: http://j2.openaether.org/bugzilla/show_bug.cgi?id=128
>
> On 24/09/05, Stephen Marquard <scm at marquard.net> wrote:
> > Norman Rasmussen wrote:
> > > 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.
> >
> > Please file this as a new bug report on http://j2.openaether.org/bugzilla/
> >
> > Thanks
> > Stephen
> >
> >
>
>
> --
> - 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