mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-08 16:38:12 +00:00
remove unuseful errors
This commit is contained in:
2 files changed
+1
-11
No files matched your search
@@ -58,7 +58,7 @@ func (v *ServerSession) DecodeRequestHeader(reader io.Reader) (*protocol.Request
|
||||
|
||||
user, timestamp, valid := v.userValidator.Get(buffer[:protocol.IDBytesLen])
|
||||
if !valid {
|
||||
return nil, protocol.ErrInvalidUser
|
||||
return nil, errors.New("VMess|Server: Invalid user.")
|
||||
}
|
||||
|
||||
timestampHash := md5.New()
|
||||
|
||||
Reference in new issue
Block a user