VLESS Encryption: Switch to "probability-from-to" format for customizable 1-RTT padding parameters

See https://github.com/XTLS/Xray-core/pull/5067#issue-3361308276 for details
This commit is contained in:
RPRX
2025-08-31 11:35:38 +00:00
committed by GitHub
parent e8b02cd664
commit 6768a22f67
3 changed files with 32 additions and 21 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ type ServerInstance struct {
RelaysLength int
XorMode uint32
Seconds uint32
PaddingLens [][2]int
PaddingGaps [][2]int
PaddingLens [][3]int
PaddingGaps [][3]int
RWLock sync.RWMutex
Sessions map[[16]byte]*ServerSession