🎄 Sync 2026-06-20 00:22:22

This commit is contained in:
github-actions[bot] committed 2026-06-20 00:22:22 +08:00
1 parent 49943e94f1
commit 985f8de6e8
12 files changed
+295 -105

No files matched your search

@@ -99,7 +99,9 @@ local function build_common(node)
elseif net == "http" then
local opts = node["http-opts"]
if opts then
o.transport.host = get_first(opts.host)
-- Clash http-opts carries the camouflage Host under headers.Host
-- (a list), like ws-opts; opts.host is not standard for http.
o.transport.host = get_first(opts.host) or (opts.headers and get_first(opts.headers.Host))
o.transport.path = get_first(opts.path)
end