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 https://github.com/XTLS/Xray-core/commit/105b306d07de292ca4807e443bb050b9719e691d
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
+1 -1
View File
@@ -46,7 +46,7 @@ type Inbound struct {
Name string
// User is the user that authenticates for the inbound. May be nil if the protocol allows anonymous traffic.
User *protocol.MemoryUser
// VlessRoute is the user-sent VLESS UUID's last byte.
// VlessRoute is the user-sent VLESS UUID's 7th<<8 | 8th bytes.
VlessRoute net.Port
// Used by splice copy. Conn is actually internet.Connection. May be nil.
Conn net.Conn