暂时取消GET302和POST307的迟滞

This commit is contained in:
刘祥超
2023-03-07 08:51:39 +08:00
parent 8835fcb09e
commit c98ff50f06
2 changed files with 1 additions and 7 deletions

View File

@@ -73,9 +73,6 @@ func (this *Get302Action) Perform(waf *WAF, group *RuleGroup, set *RuleSet, requ
if ok {
flusher.Flush()
}
// 迟滞访问
time.Sleep(1 * time.Second)
return false, false
}

View File

@@ -99,8 +99,5 @@ func (this *Post307Action) Perform(waf *WAF, group *RuleGroup, set *RuleSet, req
flusher.Flush()
}
// 迟滞访问
time.Sleep(1 * time.Second)
return false, false
}