diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-12-16 12:46:05 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-12-16 13:20:38 +0300 |
| commit | 36b0289bc659b2cc5505bfb2f0a8b9c45d21434d (patch) | |
| tree | 9a84e32a5c4cf91dee5b1b64f8949ef085c67b5c /web | |
| parent | 0abd0be725aeaf05cf9c4c09857d3654a7ac3e7a (diff) | |
XHTTP: Add "scMaxBufferedPosts"v2.4.9
Diffstat (limited to 'web')
| -rw-r--r-- | web/assets/js/model/inbound.js | 8 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_xhttp.html | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index c5fc0144..a36b9db2 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -494,7 +494,7 @@ class xHTTPStreamSettings extends XrayCommonClass { path = '/', host = '', headers = [], - scMaxConcurrentPosts = "100", + scMaxBufferedPosts = 30, scMaxEachPostBytes = "1000000", scMinPostsIntervalMs = "30", noSSEHeader = false, @@ -514,7 +514,7 @@ class xHTTPStreamSettings extends XrayCommonClass { this.path = path; this.host = host; this.headers = headers; - this.scMaxConcurrentPosts = scMaxConcurrentPosts; + this.scMaxBufferedPosts = scMaxBufferedPosts; this.scMaxEachPostBytes = scMaxEachPostBytes; this.scMinPostsIntervalMs = scMinPostsIntervalMs; this.noSSEHeader = noSSEHeader; @@ -537,7 +537,7 @@ class xHTTPStreamSettings extends XrayCommonClass { json.path, json.host, XrayCommonClass.toHeaders(json.headers), - json.scMaxConcurrentPosts, + json.scMaxBufferedPosts, json.scMaxEachPostBytes, json.scMinPostsIntervalMs, json.noSSEHeader, @@ -553,7 +553,7 @@ class xHTTPStreamSettings extends XrayCommonClass { path: this.path, host: this.host, headers: XrayCommonClass.toV2Headers(this.headers, false), - scMaxConcurrentPosts: this.scMaxConcurrentPosts, + scMaxBufferedPosts: this.scMaxBufferedPosts, scMaxEachPostBytes: this.scMaxEachPostBytes, scMinPostsIntervalMs: this.scMinPostsIntervalMs, noSSEHeader: this.noSSEHeader, diff --git a/web/html/xui/form/stream/stream_xhttp.html b/web/html/xui/form/stream/stream_xhttp.html index fc94b211..1dd3c15c 100644 --- a/web/html/xui/form/stream/stream_xhttp.html +++ b/web/html/xui/form/stream/stream_xhttp.html @@ -27,8 +27,8 @@ <a-select-option v-for="key in MODE_OPTION" :value="key">[[ key ]]</a-select-option> </a-select> </a-form-item> - <a-form-item label="Max Concurrent Upload"> - <a-input v-model.trim="inbound.stream.xhttp.scMaxConcurrentPosts"></a-input> + <a-form-item label="Max Buffered Upload"> + <a-input v-model.trim="inbound.stream.xhttp.scMaxBufferedPosts"></a-input> </a-form-item> <a-form-item label="Max Upload Size (Byte)"> <a-input v-model.trim="inbound.stream.xhttp.scMaxEachPostBytes"></a-input> |
