mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 08:44:29 +00:00
fix: change isHTTP error log level from error to warning
This commit is contained in:
parent
2e4aefd7ec
commit
830aadb22b
@ -400,7 +400,7 @@ func transfer(dst net.Conn, src net.Conn, destAddrPort string) {
|
||||
is_http, err := isHTTP(srcReader)
|
||||
if err != nil {
|
||||
if strings.Contains(err.Error(), "use of closed network connection") {
|
||||
logrus.Error(fmt.Sprintf("[%s] isHTTP error: %s", destAddrPort, err.Error()))
|
||||
logrus.Warn(fmt.Sprintf("[%s] isHTTP error: %s", destAddrPort, err.Error()))
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user