mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 11:23:32 +02:00
REALITY client: Log invalid connections at warning level
Closes https://github.com/XTLS/Xray-core/issues/4001
This commit is contained in:
parent
44b1dd0e67
commit
1a238cbb7d
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ func UClient(c net.Conn, config *Config, ctx context.Context, dest net.Destinati
|
|||
// Do not close the connection
|
||||
}()
|
||||
time.Sleep(time.Duration(randBetween(config.SpiderY[8], config.SpiderY[9])) * time.Millisecond) // return
|
||||
return nil, errors.New("REALITY: processed invalid connection")
|
||||
return nil, errors.New("REALITY: processed invalid connection").AtWarning()
|
||||
}
|
||||
return uConn, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue