采用更快的Hash算法

This commit is contained in:
刘祥超
2020-11-21 22:29:57 +08:00
parent 13615f8046
commit d2d0dece4e
12 changed files with 40 additions and 35 deletions

View File

@@ -318,7 +318,7 @@ func testTemplate20001(a *assert.Assertion, t *testing.T, template *WAF) {
// enable bot rule set
for _, g := range template.Inbound {
if g.Code == "bot" {
g.On = true
g.IsOn = true
break
}
}