mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
XHTTP: Add "scMaxBufferedPosts"
This commit is contained in:
parent
0abd0be725
commit
36b0289bc6
@ -494,7 +494,7 @@ class xHTTPStreamSettings extends XrayCommonClass {
|
|||||||
path = '/',
|
path = '/',
|
||||||
host = '',
|
host = '',
|
||||||
headers = [],
|
headers = [],
|
||||||
scMaxConcurrentPosts = "100",
|
scMaxBufferedPosts = 30,
|
||||||
scMaxEachPostBytes = "1000000",
|
scMaxEachPostBytes = "1000000",
|
||||||
scMinPostsIntervalMs = "30",
|
scMinPostsIntervalMs = "30",
|
||||||
noSSEHeader = false,
|
noSSEHeader = false,
|
||||||
@ -514,7 +514,7 @@ class xHTTPStreamSettings extends XrayCommonClass {
|
|||||||
this.path = path;
|
this.path = path;
|
||||||
this.host = host;
|
this.host = host;
|
||||||
this.headers = headers;
|
this.headers = headers;
|
||||||
this.scMaxConcurrentPosts = scMaxConcurrentPosts;
|
this.scMaxBufferedPosts = scMaxBufferedPosts;
|
||||||
this.scMaxEachPostBytes = scMaxEachPostBytes;
|
this.scMaxEachPostBytes = scMaxEachPostBytes;
|
||||||
this.scMinPostsIntervalMs = scMinPostsIntervalMs;
|
this.scMinPostsIntervalMs = scMinPostsIntervalMs;
|
||||||
this.noSSEHeader = noSSEHeader;
|
this.noSSEHeader = noSSEHeader;
|
||||||
@ -537,7 +537,7 @@ class xHTTPStreamSettings extends XrayCommonClass {
|
|||||||
json.path,
|
json.path,
|
||||||
json.host,
|
json.host,
|
||||||
XrayCommonClass.toHeaders(json.headers),
|
XrayCommonClass.toHeaders(json.headers),
|
||||||
json.scMaxConcurrentPosts,
|
json.scMaxBufferedPosts,
|
||||||
json.scMaxEachPostBytes,
|
json.scMaxEachPostBytes,
|
||||||
json.scMinPostsIntervalMs,
|
json.scMinPostsIntervalMs,
|
||||||
json.noSSEHeader,
|
json.noSSEHeader,
|
||||||
@ -553,7 +553,7 @@ class xHTTPStreamSettings extends XrayCommonClass {
|
|||||||
path: this.path,
|
path: this.path,
|
||||||
host: this.host,
|
host: this.host,
|
||||||
headers: XrayCommonClass.toV2Headers(this.headers, false),
|
headers: XrayCommonClass.toV2Headers(this.headers, false),
|
||||||
scMaxConcurrentPosts: this.scMaxConcurrentPosts,
|
scMaxBufferedPosts: this.scMaxBufferedPosts,
|
||||||
scMaxEachPostBytes: this.scMaxEachPostBytes,
|
scMaxEachPostBytes: this.scMaxEachPostBytes,
|
||||||
scMinPostsIntervalMs: this.scMinPostsIntervalMs,
|
scMinPostsIntervalMs: this.scMinPostsIntervalMs,
|
||||||
noSSEHeader: this.noSSEHeader,
|
noSSEHeader: this.noSSEHeader,
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
<a-select-option v-for="key in MODE_OPTION" :value="key">[[ key ]]</a-select-option>
|
<a-select-option v-for="key in MODE_OPTION" :value="key">[[ key ]]</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="Max Concurrent Upload">
|
<a-form-item label="Max Buffered Upload">
|
||||||
<a-input v-model.trim="inbound.stream.xhttp.scMaxConcurrentPosts"></a-input>
|
<a-input v-model.trim="inbound.stream.xhttp.scMaxBufferedPosts"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="Max Upload Size (Byte)">
|
<a-form-item label="Max Upload Size (Byte)">
|
||||||
<a-input v-model.trim="inbound.stream.xhttp.scMaxEachPostBytes"></a-input>
|
<a-input v-model.trim="inbound.stream.xhttp.scMaxEachPostBytes"></a-input>
|
||||||
|
Loading…
Reference in New Issue
Block a user