qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Rolke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DISPATCH-270) Specifying a maxSessions limit of 1 allows unlimited sessions
Date Fri, 08 Apr 2016 20:59:25 GMT
Chuck Rolke created DISPATCH-270:
------------------------------------

             Summary: Specifying a maxSessions limit of 1 allows unlimited sessions
                 Key: DISPATCH-270
                 URL: https://issues.apache.org/jira/browse/DISPATCH-270
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Policy Engine
    Affects Versions: 0.6
            Reporter: Chuck Rolke


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message