[Standards] BOSH and sequencing responses
mwild1 at gmail.com
Tue Aug 10 08:45:19 UTC 2010
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.
More information about the Standards