VLESS outbound: Add pre-connect (early test, for Vision Seed)

https://t.me/projectXtls/1034
This commit is contained in:
RPRX
2025-11-02 02:44:44 +00:00
parent cb4f943f50
commit 2dc9729864
5 changed files with 70 additions and 16 deletions
+4
View File
@@ -22,6 +22,7 @@ func (a *Account) AsAccount() (protocol.Account, error) {
Seconds: a.Seconds,
Padding: a.Padding,
Reverse: a.Reverse,
Testpre: a.Testpre,
}, nil
}
@@ -38,6 +39,8 @@ type MemoryAccount struct {
Padding string
Reverse *Reverse
Testpre uint32
}
// Equals implements protocol.Account.Equals().
@@ -58,5 +61,6 @@ func (a *MemoryAccount) ToProto() proto.Message {
Seconds: a.Seconds,
Padding: a.Padding,
Reverse: a.Reverse,
Testpre: a.Testpre,
}
}