mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
feat: add UDP over Stream for TUIC
fix: you can't enable uos with udp_relay_mode
This commit is contained in:
committed by
arm64v8a
parent
26637883a1
commit
ff3696772c
@@ -204,7 +204,11 @@ namespace NekoGui_fmt {
|
||||
outbound["uuid"] = uuid;
|
||||
outbound["password"] = password;
|
||||
outbound["congestion_control"] = congestionControl;
|
||||
outbound["udp_relay_mode"] = udpRelayMode;
|
||||
if (uos) {
|
||||
outbound["udp_over_stream"]= true;
|
||||
} else {
|
||||
outbound["udp_relay_mode"] = udpRelayMode;
|
||||
}
|
||||
outbound["zero_rtt_handshake"] = zeroRttHandshake;
|
||||
if (!heartbeat.trimmed().isEmpty()) outbound["heartbeat"] = heartbeat;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user