Skip to content

Commit

Permalink
Issue #7891 - Better group match optimization logic
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed May 11, 2022
1 parent fc05341 commit 20d5c8c
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -160,6 +160,9 @@ public MatchedResource<E> getMatched(String path)
// Run servlet spec optimizations on first hit of specific groups
if (group != lastGroup)
{
// New group, reset skip logic
skipRestOfGroup = false;

// New group in list, so let's look for an optimization
switch (group)
{
Expand Down

0 comments on commit 20d5c8c

Please sign in to comment.