[Standards] BOSH and sequencing responses

Peter Saint-Andre stpeter at stpeter.im
Tue Aug 10 15:22:53 UTC 2010

On 8/10/10 2:45 AM, Matthew Wild wrote:
> On 27 July 2010 03:05, Justin Karneges
> <justin-keyword-jabber.093179 at affinix.com> wrote:
>> Hi folks,
>> Outbound BOSH requests use 'rid' to ensure in-order processing of client
>> stanzas at the server end.  However, BOSH replies don't have anything
>> similar.  Does this mean that it is possible for stanzas sent by the server
>> to lose order at the BOSH layer?
> 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.

Patches are welcome. :)


Peter Saint-Andre

More information about the Standards mailing list