Ganesh Murthy created DISPATCH-1277:
---------------------------------------

             Summary: max-frame-size defaults to 2147483647 if it is not 
specified in the policy
                 Key: DISPATCH-1277
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1277
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Container
    Affects Versions: 1.5.0
            Reporter: Ganesh Murthy
            Assignee: Ganesh Murthy
             Fix For: 1.6.0


Start a router with the following policy
{noformat}
##
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements.  See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership.  The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License.  You may obtain a copy of the License at
##
##   http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing,
## software distributed under the License is distributed on an
## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
## KIND, either express or implied.  See the License for the
## specific language governing permissions and limitations
## under the License
##
[
    ["vhost", {
        "hostname": "$default",
        "allowUnknownUser": true,
        "groups" : {
                "$default": {
                    "remoteHosts": "*",
                    "allowDynamicSource": true,
                    "allowAnonymousSender": true,
                    "allowAdminStatusUpdate": true,
                    "targets": "*",
                    "sources": "*"
                }
             }
         }
    ]
]{noformat}
Notice that the above policy does not specify a maxFrameSize.

According to the router schema documentation seen here - 
[https://github.com/apache/qpid-dispatch/blob/master/python/qpid_dispatch/management/qdrouter.json#L1815]
 - the maxFrameSize must default to 16k
{noformat}
"maxFrameSize": {

    "type": "integer",
    "description": "The largest frame, in bytes, that may be sent on this   
connection. Non-zero policy values overwrite values specified for a listener 
object (AMQP Open, max-frame-size).",
    "default": 16384,
    "required": false,
    "create": true

},{noformat}
Instead it is defaulting to 2147483647 as seen here -
{noformat}
[0x5650918bfc90]:0 <- @open(16) [container-id="QDR", max-frame-size=2147483647, 
channel-max=32767, idle-time-out=60000, 
offered-capabilities=:"ANONYMOUS-RELAY", 
properties={:product="qpid-dispatch-router", :version="1.6.0-SNAPSHOT", 
:"qd.conn-id"=6}]{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to