forked from jetty/jetty.project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CrossOriginFilter: performance: allowedMethods
Avoid recreating for each request the value of the header Access-Control-Allow-Method. Cheaper matching: Previously an array list was iterated to try to match the method. Now a single Pattern is used. Related to: jetty#1053 (Review CrossOriginFilter) Might conflict with: jetty#1952 (CrossOriginFilter performace: reuse matcher) Signed-off-by: Juan F. Codagnone <[email protected]>
- Loading branch information
1 parent
d1e5883
commit 87f7a07
Showing
2 changed files
with
69 additions
and
8 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