mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 21:14:37 +03:00
sub: Add ws early data infomation
support VMess, trojan and VLESS.
This commit is contained in:
@@ -296,6 +296,8 @@ namespace NekoGui_sub {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
bean->stream->path = Node2QString(ws["path"]);
|
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"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto grpc = NodeChild(proxy, {"grpc-opts", "grpc-opt"});
|
auto grpc = NodeChild(proxy, {"grpc-opts", "grpc-opt"});
|
||||||
@@ -329,6 +331,8 @@ namespace NekoGui_sub {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
bean->stream->path = Node2QString(ws["path"]);
|
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"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto grpc = NodeChild(proxy, {"grpc-opts", "grpc-opt"});
|
auto grpc = NodeChild(proxy, {"grpc-opts", "grpc-opt"});
|
||||||
|
|||||||
Reference in New Issue
Block a user