mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-15 07:06:36 +08:00
修复WAF OnAction在并发时无法准确调用请求动作的Bug
This commit is contained in:
@@ -23,10 +23,6 @@ func Test_Template(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
template.OnAction(func(action ActionInterface) (goNext bool) {
|
||||
return action.Code() != ActionBlock
|
||||
})
|
||||
|
||||
testTemplate1001(a, t, template)
|
||||
testTemplate1002(a, t, template)
|
||||
testTemplate1003(a, t, template)
|
||||
|
||||
Reference in New Issue
Block a user