mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
Remove useless error log
This commit is contained in:
parent
c4a307e84d
commit
6f93ef7736
3 changed files with 15 additions and 5 deletions
|
@ -108,9 +108,7 @@ func (w *tcpWorker) callback(conn stat.Connection) {
|
|||
newError("connection ends").Base(err).WriteToLog(session.ExportIDToError(ctx))
|
||||
}
|
||||
cancel()
|
||||
if err := conn.Close(); err != nil {
|
||||
newError("failed to close connection").Base(err).WriteToLog(session.ExportIDToError(ctx))
|
||||
}
|
||||
conn.Close()
|
||||
}
|
||||
|
||||
func (w *tcpWorker) Proxy() proxy.Inbound {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue