Uploaded image for project: 'Openfire (ARCHIVED)'
  1. Openfire (ARCHIVED)
  2. JM-1412

BOSH session dropped when requests are received out of order

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.2, 3.6.0
    • Fix Version/s: 3.6.0
    • Component/s: Connection Manager
    • Labels:
      None
    • Acceptance Test - Entry:
      Hide

      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.

      Show
      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.

      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.

        Attachments

          Activity

            People

            • Assignee:
              gaston Gaston Dombiak
              Reporter:
              huni Safa Sofuoğlu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: