mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-17 01:06:13 +00:00
fix: change isHTTP error log level from error to warning
This commit is contained in:
parent
9082d487c5
commit
c5e65d2cfb
@ -400,7 +400,7 @@ func transfer(dst net.Conn, src net.Conn, destAddrPort string) {
|
|||||||
is_http, err := isHTTP(srcReader)
|
is_http, err := isHTTP(srcReader)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if strings.Contains(err.Error(), "use of closed network connection") {
|
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
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user