diff options
| author | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-03-09 08:38:34 +0300 |
|---|---|---|
| committer | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-03-09 08:38:34 +0300 |
| commit | 17a76d284399c4c9f4e90e93b599c65bccca21aa (patch) | |
| tree | 8f3e1b13224dd7cc622d2c67bdb06988084e8728 /web | |
| parent | a23a5de540e59dfed05e07eb17dc45e6cb8c2341 (diff) | |
Revert "chore: add missing params for grpc stream settings (outbound)"
This reverts commit 1c59afe031da71ca857c52efaed76a53b040f8d5.
Diffstat (limited to 'web')
| -rw-r--r-- | web/assets/js/model/outbound.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index 9104777c..0103b1e8 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -707,7 +707,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', json.user_agent, json.idle_timeout, json.health_check_timeout, json.permit_without_stream, json.initial_windows_size); + stream.grpc = new GrpcStreamSettings(json.path, json.authority, json.type == 'multi'); } else if (network === 'httpupgrade') { stream.httpupgrade = new HttpUpgradeStreamSettings(json.path, json.host); } else if (network === 'xhttp') { @@ -750,13 +750,7 @@ class Outbound extends CommonClass { stream.grpc = new GrpcStreamSettings( url.searchParams.get('serviceName') ?? '', url.searchParams.get('authority') ?? '', - 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') ?? '', - ); + url.searchParams.get('mode') == 'multi'); } else if (type === 'httpupgrade') { stream.httpupgrade = new HttpUpgradeStreamSettings(path, host); } else if (type === 'xhttp') { |
