From 8cb11bf322be37ca0541aacbab65de0c111def01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 13 Nov 2024 10:38:46 +0800 Subject: [PATCH] Fix rule match --- route/route.go | 1 + 1 file changed, 1 insertion(+) diff --git a/route/route.go b/route/route.go index c4907663..1c4da4b7 100644 --- a/route/route.go +++ b/route/route.go @@ -400,6 +400,7 @@ func (r *Router) matchRule( match: for currentRuleIndex, currentRule := range r.rules { + metadata.ResetRuleCache() if !currentRule.Match(metadata) { continue }