mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-07 12:18:43 +00:00
header-custom finalmask: Add UDP standalone handshake mode (#5945)
https://github.com/XTLS/Xray-core/commit/175502d8079aa5a151242ed911d01a1b90b98b28
This commit is contained in:
@@ -191,10 +191,12 @@ func TestHeaderCustomUDPBuild(t *testing.T) {
|
||||
{
|
||||
"reuse": "txid"
|
||||
}
|
||||
]
|
||||
],
|
||||
"mode": "standalone"
|
||||
}`,
|
||||
Parser: parser,
|
||||
Output: &finalmaskcustom.UDPConfig{
|
||||
Mode: "standalone",
|
||||
Client: []*finalmaskcustom.UDPItem{
|
||||
{
|
||||
RandMax: 255,
|
||||
|
||||
Reference in New Issue
Block a user