-
Notifications
You must be signed in to change notification settings - Fork 362
Open
Description
Hey Jitsi Team here. We ran into issue where we were receiving stanzas in wrong order for bosh.
Here is a description of our observation:
- We have an open long-poll request with rid=1
- We send a presence to a MUC in a new request with rid=2. We expect to receive back a presence, followed shortly by an IQ.
- The remote side sends a presence in rid=1, and an IQ in rid=2
- Strophe fires the IQ handler first (received in rid=2), and then the presence handler (received in rid=1)
We expect that in 4 strophe should fire the presence (rid=1) first and then the IQ (rid=2). We suspect the issue happens when the rid=2 request completes before the rid=1 request.
And according to XEP-0124 the client needs to order those before firing the listeners The client MUST process responses received from the connection manager in the order the requests were made..
Metadata
Metadata
Assignees
Labels
No labels