Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-270

Specifying a maxSessions limit of 1 allows unlimited sessions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.6.0
    • 0.6.0
    • Policy Engine
    • None

    Description

      This is an issue of cascading magic numbers. Policy keeps the numbers in normal human readable form. The number is decremented when it's handed over to proton to put into channel-max.
      So a policy limit of 1 gets decremented to zero when sent to proton. Proton sees a zero and sends no channel-max in the Open frame, allowing the maximum number of sessions.

      A user must specify two or more for the maxSessions in order to get the expected number.

      Dispatch router policy should fail when a user specifies maxSessions = 1.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: