From 4ae0d1b0bdfc5878f8b32a626672866d40a72c7b Mon Sep 17 00:00:00 2001 From: asdlokj1qpi23 Date: Mon, 28 Apr 2025 09:48:58 +0800 Subject: [PATCH] Resolve the VLESS TCP error.(#29) --- src/parser/subparser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser/subparser.cpp b/src/parser/subparser.cpp index ca5d5de..eb0d503 100644 --- a/src/parser/subparser.cpp +++ b/src/parser/subparser.cpp @@ -1399,6 +1399,7 @@ void explodeClash(Node yamlnode, std::vector &nodes) { : safe_as( singleproxy["servername"]); switch (hash_(net)) { + case "tcp"_hash: case "http"_hash: singleproxy["http-opts"]["path"][0] >>= path; singleproxy["http-opts"]["headers"]["Host"][0] >>= host;