Resolve the VLESS TCP error.(#29)

This commit is contained in:
asdlokj1qpi23
2025-04-28 09:48:58 +08:00
parent a428c844a2
commit 4ae0d1b0bd

View File

@@ -1399,6 +1399,7 @@ void explodeClash(Node yamlnode, std::vector<Proxy> &nodes) {
: safe_as<std::string>(
singleproxy["servername"]);
switch (hash_(net)) {
case "tcp"_hash:
case "http"_hash:
singleproxy["http-opts"]["path"][0] >>= path;
singleproxy["http-opts"]["headers"]["Host"][0] >>= host;