Archived
优化WAF正则表达式缓存时间
This commit is contained in:
@@ -30,7 +30,7 @@ type Request interface {
|
||||
WAFClose()
|
||||
|
||||
// WAFOnAction 动作回调
|
||||
WAFOnAction(action interface{}) (goNext bool)
|
||||
WAFOnAction(action any) (goNext bool)
|
||||
|
||||
// WAFFingerprint 读取连接指纹
|
||||
WAFFingerprint() []byte
|
||||
|
||||
@@ -73,7 +73,7 @@ func (this *TestRequest) Format(s string) string {
|
||||
return s
|
||||
}
|
||||
|
||||
func (this *TestRequest) WAFOnAction(action interface{}) bool {
|
||||
func (this *TestRequest) WAFOnAction(action any) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user