membphis commented on issue #2737: URL: https://github.com/apache/apisix/issues/2737#issuecomment-735595716
> to let the route with `status=0` not take effect, can only remove this route from the `radixtree`? @tzssangglass @moonming for router `radixtree_uri`, we can add a new process here: https://github.com/apache/apisix/blob/master/apisix/http/router/radixtree_uri.lua#L42 ```lua for _, route in ipairs(routes) do if type(route) == "table" then if route.status and route.status ~= 1 then -- check the status goto CONTINUE end ... ... ::CONTINUE:: end end ``` and we need to update the router `adixtree_host_uri` too, use the same way. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
