aes128xor (all) -> xored (optimized)

https://github.com/XTLS/Xray-core/pull/4952#issuecomment-3182301703
This commit is contained in:
RPRX
2025-08-13 10:41:26 +00:00
committed by GitHub
parent 3c20bddfcf
commit 1720be168f
2 changed files with 35 additions and 12 deletions

View File

@@ -92,7 +92,7 @@ func (c *VLessInboundConfig) Build() (proto.Message, error) {
}
switch s[1] {
case "vless":
case "aes128xor":
case "xored":
config.Xor = 1
default:
return false
@@ -240,7 +240,7 @@ func (c *VLessOutboundConfig) Build() (proto.Message, error) {
}
switch s[1] {
case "vless":
case "aes128xor":
case "xored":
account.Xor = 1
default:
return false