mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-06 07:45:47 +08:00
GET302/POST307增加访问迟滞
This commit is contained in:
@@ -74,5 +74,8 @@ func (this *Get302Action) Perform(waf *WAF, group *RuleGroup, set *RuleSet, requ
|
||||
flusher.Flush()
|
||||
}
|
||||
|
||||
// 迟滞访问
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
return false, false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user