mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-04 08:15:21 -05:00
delay check of remote address
This commit is contained in:
@@ -152,6 +152,10 @@ func (v *ServerSession) DecodeRequestHeader(reader io.Reader) (*protocol.Request
|
||||
return nil, errors.New("VMess|Server: Invalid auth.")
|
||||
}
|
||||
|
||||
if request.Address == nil {
|
||||
return nil, errors.New("VMess|Server: Invalid remote address.")
|
||||
}
|
||||
|
||||
return request, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user