[Standards] BOSH and sequencing responses

Fabio Forno fabio.forno at gmail.com
Fri Aug 13 21:48:31 UTC 2010


On Tue, Aug 10, 2010 at 10:45 AM, Matthew Wild <mwild1 at gmail.com> wrote:
>
> I believe not. The server must always reply to the lowest rid first.
> If a client sees a response to a higher rid before that of a lower
> rid, it can assume it is missing some stanzas. If those stanzas don't
> arrive then it can repeat the request with the lowest rid to trigger
> the server to re-send the response.
>
> I don't think this behaviour is explicitly mentioned in the XEP, but
> it seems the only sensible approach.
>

Having played with quite few BOSH implementations I confirm this is
the only viable approach, since the client can always know which was
the original rid of the originating request, therefore no doubts it
can detect missing or out of order replies

-- 
Fabio Forno,
Ooros srl
jabber id: ff at jabber.bluendo.com



More information about the Standards mailing list