mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-30 20:31:01 +08:00
增加是否记录499选项
This commit is contained in:
@@ -32,6 +32,11 @@ func (this *HTTPRequest) log() {
|
||||
return
|
||||
}
|
||||
|
||||
// 是否记录499
|
||||
if !ref.EnableClientClosed && this.writer.StatusCode() == 499 {
|
||||
return
|
||||
}
|
||||
|
||||
addr := this.RawReq.RemoteAddr
|
||||
index := strings.LastIndex(addr, ":")
|
||||
if index > 0 {
|
||||
|
||||
Reference in New Issue
Block a user