VLESS practice: Use user-sent VLESS UUID's 7th<<8 | 8th bytes as vlessRoute instead

https://github.com/XTLS/Xray-core/pull/5009#issuecomment-3195718690

Replaces 105b306d07
This commit is contained in:
RPRX
2025-08-18 08:50:43 +00:00
committed by GitHub
parent 5464862ee6
commit 7f300dbf0c
4 changed files with 12 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ type Context interface {
// GetUser returns the user email from the connection content, if exists.
GetUser() string
// GetVlessRoute returns the user-sent VLESS UUID's last byte, if exists.
// GetVlessRoute returns the user-sent VLESS UUID's 7th<<8 | 8th bytes, if exists.
GetVlessRoute() net.Port
// GetAttributes returns extra attributes from the conneciont content.