On 8/10/10 2:45 AM, Matthew Wild wrote: > On 27 July 2010 03:05, Justin Karneges > <[email protected]> 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 -- Peter Saint-Andre https://stpeter.im/
