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
|
@ -2,6 +2,7 @@ package udp
|
|||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"io"
|
||||
"sync"
|
||||
"time"
|
||||
|
@ -107,7 +108,9 @@ func handleInput(ctx context.Context, conn *connEntry, dest net.Destination, cal
|
|||
|
||||
mb, err := input.ReadMultiBuffer()
|
||||
if err != nil {
|
||||
newError("failed to handle UDP input").Base(err).WriteToLog(session.ExportIDToError(ctx))
|
||||
if !errors.Is(err, io.EOF) {
|
||||
newError("failed to handle UDP input").Base(err).WriteToLog(session.ExportIDToError(ctx))
|
||||
}
|
||||
return
|
||||
}
|
||||
timer.Update()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue