mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-26 02:42:25 +00:00
Resolve the VLESS TCP error.(#29)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user