Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-03-09 07:49:17 +0300
committerShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-03-09 07:49:17 +0300
commit1c59afe031da71ca857c52efaed76a53b040f8d5 (patch)
tree43381fdb7c88b7d5db207b6035e94fbb31e16be0 /web/assets
parentc49ec9a74cf1c407cbe872355f1e2ac03a8e3080 (diff)
chore: add missing params for grpc stream settings (outbound)
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/js/model/outbound.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 38c7ce73..6de639a1 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -731,7 +731,7 @@ class Outbound extends CommonClass {
} else if (network === 'ws') {
stream.ws = new WsStreamSettings(json.path, json.host);
} else if (network === 'grpc') {
- stream.grpc = new GrpcStreamSettings(json.path, json.authority, json.type == 'multi');
+ stream.grpc = new GrpcStreamSettings(json.path, json.authority, json.type == 'multi', json.user_agent, json.idle_timeout, json.health_check_timeout, json.permit_without_stream, json.initial_windows_size);
} else if (network === 'httpupgrade') {
stream.httpupgrade = new HttpUpgradeStreamSettings(json.path, json.host);
} else if (network === 'xhttp') {
@@ -774,7 +774,13 @@ class Outbound extends CommonClass {
stream.grpc = new GrpcStreamSettings(
url.searchParams.get('serviceName') ?? '',
url.searchParams.get('authority') ?? '',
- url.searchParams.get('mode') == 'multi');
+ url.searchParams.get('mode') == 'multi',
+ url.searchParams.get('user_agent') ?? '',
+ url.searchParams.get('idle_timeout') ?? '',
+ url.searchParams.get('health_check_timeout') ?? '',
+ url.searchParams.get('permit_without_stream') ?? '',
+ url.searchParams.get('initial_windows_size') ?? '',
+ );
} else if (type === 'httpupgrade') {
stream.httpupgrade = new HttpUpgradeStreamSettings(path, host);
} else if (type === 'xhttp') {