在GET302和CAPTCHA验证中不记录特殊URL的访问日志

This commit is contained in:
刘祥超
2023-03-16 10:38:40 +08:00
parent c161d84fdf
commit 5c218567e1
4 changed files with 18 additions and 0 deletions

View File

@@ -421,3 +421,8 @@ func (this *HTTPRequest) WAFFingerprint() []byte {
return nil
}
// DisableAccessLog 在当前请求中不使用访问日志
func (this *HTTPRequest) DisableAccessLog() {
this.disableLog = true
}