chore(sub): remove unused value

This commit is contained in:
xchacha20-poly1305
2023-09-16 19:40:38 +09:00
committed by arm64v8a
parent a2fe70509b
commit f8999192ab

View File

@@ -377,6 +377,10 @@ namespace NekoGui_sub {
bean->stream->path = Node2QString(ws["path"]);
bean->stream->ws_early_data_length = Node2Int(ws["max-early-data"]);
bean->stream->ws_early_data_name = Node2QString(ws["early-data-header-name"]);
// for Xray
if (Node2QString(ws["early-data-header-name"]) == "Sec-WebSocket-Protocol") {
bean->stream->path += "?ed=" + Node2QString(ws["max-early-data"]);
}
}
auto grpc = NodeChild(proxy, {"grpc-opts", "grpc-opt"});