-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(router) respect strip_uri for APIs with multiple uris
Because of our Lua-land LRU cache, we used not to execute `match_api`, which takes care of discovering which configured uri matched a given API, and should be stripped. This operation is O(1) for plain text URIs, as well as hosts and methods, hence, we do not suffer any performance penalty. Fix #2562
- Loading branch information
1 parent
524d290
commit 4493454
Showing
3 changed files
with
74 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters