HaoTien commented on issue #9431:
URL: https://github.com/apache/apisix/issues/9431#issuecomment-1869912048

   
   
   
   > only_uri_route:dipatch(...) then it call in resty.radixtree
   > 
   > ```
   > local function match_route(self, path, opts, args)
   >     if opts.host then
   >         opts.host = str_lower(opts.host)
   >     end
   > 
   >     if opts.matched then
   >         clear_tab(opts.matched)
   >     end
   > 
   >     local routes = self.hash_path[path]
   >     if routes then
   >         local opts_matched_exists = (opts.matched ~= nil)
   >         for _, route in ipairs(routes) do
   >             if match_route_opts(route, opts, args) then
   >                 if opts_matched_exists then
   >                     opts.matched._path = path
   >                 end
   >                 return route
   >             end
   >         end
   >     end
   > ```
   > 
   > so i guess it not support max match depth.
   
   I can temporarily solve this problem by increasing the route's priority.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to