mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-09 03:10:26 +08:00
减少一些不必要的访问统计
This commit is contained in:
@@ -478,3 +478,10 @@ func (this *HTTPRequest) WAFMaxRequestSize() int64 {
|
||||
func (this *HTTPRequest) DisableAccessLog() {
|
||||
this.disableLog = true
|
||||
}
|
||||
|
||||
// DisableStat 停用统计
|
||||
func (this *HTTPRequest) DisableStat() {
|
||||
if this.web != nil {
|
||||
this.web.StatRef = nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user