在对IP封禁时,不写入访问日志

This commit is contained in:
GoEdgeLab
2020-11-09 11:02:29 +08:00
parent 734c30ebfb
commit cbac2d3fd4
3 changed files with 18 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ type HTTPRequest struct {
firewallRuleId int64
logAttrs map[string]string
disableLog bool // 此请求中关闭Log
}
// 初始化