diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-08-11 12:38:59 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-08-11 12:38:59 +0300 |
| commit | d319476eb6e7b9426b2441069d619284e1ab6ac2 (patch) | |
| tree | 8f6df4e43d2c9dedea3e15e082bd2bb12e272440 /web | |
| parent | 93d52bc86c4725fdfbdb629e87bbb5d24abf7d37 (diff) | |
splithttp - change default to accept range (better upload now)
Diffstat (limited to 'web')
| -rw-r--r-- | web/assets/js/model/xray.js | 6 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vless.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_splithttp.html | 6 |
3 files changed, 6 insertions, 8 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index 0e4e2e72..a02e57fe 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -555,9 +555,9 @@ class SplitHTTPStreamSettings extends XrayCommonClass { path = '/', host = '', headers = [], - scMaxConcurrentPosts = 100, - scMaxEachPostBytes = 1000000, - scMinPostsIntervalMs = 30, + scMaxConcurrentPosts = "100-200", + scMaxEachPostBytes = "1000000-2000000", + scMinPostsIntervalMs = "10-50", noSSEHeader = false, ) { super(); diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 82d5424e..2f58b28a 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -9,12 +9,10 @@ <table width="100%"> <tr class="client-table-header"> <th>{{ i18n "pages.inbounds.email" }}</th> - <th>Flow</th> <th>ID</th> </tr> <tr v-for="(client, index) in inbound.settings.vlesses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''"> <td>[[ client.email ]]</td> - <td>[[ client.flow ]]</td> <td>[[ client.id ]]</td> </tr> </table> diff --git a/web/html/xui/form/stream/stream_splithttp.html b/web/html/xui/form/stream/stream_splithttp.html index a873695c..baf76d0a 100644 --- a/web/html/xui/form/stream/stream_splithttp.html +++ b/web/html/xui/form/stream/stream_splithttp.html @@ -20,13 +20,13 @@ </a-input-group> </a-form-item> <a-form-item label="Max Concurrent Upload"> - <a-input-number v-model="inbound.stream.splithttp.scMaxConcurrentPosts" :min="0"></a-input-number> + <a-input v-model.trim="inbound.stream.splithttp.scMaxConcurrentPosts"></a-input> </a-form-item> <a-form-item label="Max Upload Size (Byte)"> - <a-input-number v-model="inbound.stream.splithttp.scMaxEachPostBytes" :min="0"></a-input-number> + <a-input v-model.trim="inbound.stream.splithttp.scMaxEachPostBytes"></a-input> </a-form-item> <a-form-item label="Min Upload Interval (Ms)"> - <a-input-number v-model="inbound.stream.splithttp.scMinPostsIntervalMs" :min="0"></a-input-number> + <a-input v-model.trim="inbound.stream.splithttp.scMinPostsIntervalMs"></a-input> </a-form-item> <a-form-item label="No SSE Header"> <a-switch v-model="inbound.stream.splithttp.noSSEHeader"></a-switch> |
