Skip to content

request help: radixtree_host_uri does not consider routing priority #2423

Description

@haifeng9414

Issue description

Why does radixtree_host_uri.lua not set the priority when creating a route:

local radixtree_route = {
        paths = route.value.uris or route.value.uri,
        methods = route.value.methods,
        remote_addrs = route.value.remote_addrs
                       or route.value.remote_addr,
        vars = route.value.vars,
        filter_fun = filter_fun,
        handler = function (api_ctx)
            api_ctx.matched_params = nil
            api_ctx.matched_route = route
        end
    }

Is this a bug?

  • apisix version (cmd: apisix version): latest master(4f535e7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions