Skip to content

Incorrect http routes removal #246

@rosik

Description

@rosik

local function delete_route(httpd, name)
httpd.routes[httpd.iroutes[name]] = nil
httpd.iroutes[name] = nil
end

This code leaves gaps in httpd.routes table. It may affect other modules. See, for example, fix in Cartridge: tarantool/cartridge#1414

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