Skip to content

Commit

Permalink
chore(sub): remove unused value
Browse files Browse the repository at this point in the history
  • Loading branch information
xchacha20-poly1305 authored and arm64v8a committed Sep 24, 2023
1 parent a2fe705 commit f899919
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sub/GroupUpdater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"});
Expand Down

0 comments on commit f899919

Please sign in to comment.