We're updating the issue view to help you get more done. 

BOSH session dropped when requests are received out of order

Description

As stated in XEP-0124, http://www.xmpp.org/extensions/xep-0124.html#rids-order :

"When a client makes simultaneous requests, the connection manager may receive them out of order. The connection manager MUST forward the stanzas to the server and respond to the client requests in the order specified by the 'rid' attributes. The client MUST process responses received from the connection manager in the order the requests were made."

When Openfire recevies two BOSH requests out of order, i.e. the one with the greader rid arrives first, it responds to the latter with:

<body xmlns="http://jabber.org/protocol/httpbind" type="terminal" condition="item-not-found"></body>

Subsequent requests from the client will be responded with 404-Not Found, since the session is dropped.

Environment

None

Acceptance Test - Entry

1. Make two BOSH requests to Openfire, so that the first one has a request id of one more than the second one's request id.
2. Openfire should respond to the latter request first, and then to the former request, gracefully.

Assignee

Gaston Dombiak

Reporter

Safa Sofuoglu

Labels

None

Expected Effort

None

Ignite Forum URL

None

Time tracking

0m

Time remaining

48h

Components

Fix versions

Affects versions

Priority

Major
Configure