Skip to content

Commit d319476

Browse files
committed
splithttp - change default to accept range (better upload now)
1 parent 93d52bc commit d319476

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

web/assets/js/model/xray.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,9 @@ class SplitHTTPStreamSettings extends XrayCommonClass {
555555
path = '/',
556556
host = '',
557557
headers = [],
558-
scMaxConcurrentPosts = 100,
559-
scMaxEachPostBytes = 1000000,
560-
scMinPostsIntervalMs = 30,
558+
scMaxConcurrentPosts = "100-200",
559+
scMaxEachPostBytes = "1000000-2000000",
560+
scMinPostsIntervalMs = "10-50",
561561
noSSEHeader = false,
562562
) {
563563
super();

web/html/xui/form/protocol/vless.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@
99
<table width="100%">
1010
<tr class="client-table-header">
1111
<th>{{ i18n "pages.inbounds.email" }}</th>
12-
<th>Flow</th>
1312
<th>ID</th>
1413
</tr>
1514
<tr v-for="(client, index) in inbound.settings.vlesses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''">
1615
<td>[[ client.email ]]</td>
17-
<td>[[ client.flow ]]</td>
1816
<td>[[ client.id ]]</td>
1917
</tr>
2018
</table>

web/html/xui/form/stream/stream_splithttp.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
</a-input-group>
2121
</a-form-item>
2222
<a-form-item label="Max Concurrent Upload">
23-
<a-input-number v-model="inbound.stream.splithttp.scMaxConcurrentPosts" :min="0"></a-input-number>
23+
<a-input v-model.trim="inbound.stream.splithttp.scMaxConcurrentPosts"></a-input>
2424
</a-form-item>
2525
<a-form-item label="Max Upload Size (Byte)">
26-
<a-input-number v-model="inbound.stream.splithttp.scMaxEachPostBytes" :min="0"></a-input-number>
26+
<a-input v-model.trim="inbound.stream.splithttp.scMaxEachPostBytes"></a-input>
2727
</a-form-item>
2828
<a-form-item label="Min Upload Interval (Ms)">
29-
<a-input-number v-model="inbound.stream.splithttp.scMinPostsIntervalMs" :min="0"></a-input-number>
29+
<a-input v-model.trim="inbound.stream.splithttp.scMinPostsIntervalMs"></a-input>
3030
</a-form-item>
3131
<a-form-item label="No SSE Header">
3232
<a-switch v-model="inbound.stream.splithttp.noSSEHeader"></a-switch>

0 commit comments

Comments
 (0)