mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
use xudp by default on vless/mess
This commit is contained in:
parent
d541d0bbe6
commit
212820f0a3
@ -14,7 +14,7 @@ namespace Configs
|
||||
QString uuid;
|
||||
QString flow;
|
||||
std::shared_ptr<TLS> tls = std::make_shared<TLS>();
|
||||
QString packet_encoding;
|
||||
QString packet_encoding = "xudp";
|
||||
std::shared_ptr<Multiplex> multiplex = std::make_shared<Multiplex>();
|
||||
std::shared_ptr<Transport> transport = std::make_shared<Transport>();
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ namespace Configs
|
||||
bool global_padding = false;
|
||||
bool authenticated_length = false;
|
||||
std::shared_ptr<TLS> tls = std::make_shared<TLS>();
|
||||
QString packet_encoding;
|
||||
QString packet_encoding = "xudp";
|
||||
std::shared_ptr<Transport> transport = std::make_shared<Transport>();
|
||||
std::shared_ptr<Multiplex> multiplex = std::make_shared<Multiplex>();
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ namespace Configs {
|
||||
tls->enabled = true;
|
||||
}
|
||||
|
||||
packet_encoding = GetQueryValue(query, "packetEncoding", "");
|
||||
packet_encoding = GetQueryValue(query, "packetEncoding", "xudp");
|
||||
multiplex->ParseFromLink(link);
|
||||
|
||||
return !(uuid.isEmpty() || server.isEmpty());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user