mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2026-01-07 13:59:40 +08:00
fix: VLESS packet_encoding defaults to empty instead of xudp
This commit is contained in:
parent
0625514358
commit
53643a833f
@ -77,6 +77,9 @@ namespace NekoGui_fmt {
|
||||
if (!flow.isEmpty()) {
|
||||
query.addQueryItem("flow", flow);
|
||||
}
|
||||
if (!stream->packet_encoding.isEmpty()) {
|
||||
query.addQueryItem("packetEncoding", stream->packet_encoding);
|
||||
}
|
||||
query.addQueryItem("encryption", "none");
|
||||
}
|
||||
|
||||
|
||||
@ -111,6 +111,7 @@ namespace NekoGui_fmt {
|
||||
// protocol
|
||||
if (proxy_type == proxy_VLESS) {
|
||||
flow = GetQueryValue(query, "flow", "");
|
||||
stream->packet_encoding = GetQueryValue(query, "packetEncoding", "xudp");
|
||||
}
|
||||
|
||||
return !(password.isEmpty() || serverAddress.isEmpty());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user