mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-22 13:16:07 +03:00
59f6685774
* maxUploadSize and maxConcurrentUploads can now be ranges on the client * maxUploadSize is now enforced on the server * the default of maxUploadSize is 2MB on the server, and 1MB on the client * the default of maxConcurrentUploads is 200 on the server, and 100 on the client * ranges on the server are treated as a single number. if server is configured as `"1-2"`, server will enforce `2` * querystrings in `path` are now handled correctly
22 lines
585 B
Protocol Buffer
22 lines
585 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.transport.internet.splithttp;
|
|
option csharp_namespace = "Xray.Transport.Internet.SplitHttp";
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/splithttp";
|
|
option java_package = "com.xray.transport.internet.splithttp";
|
|
option java_multiple_files = true;
|
|
|
|
message Config {
|
|
string host = 1;
|
|
string path = 2;
|
|
map<string, string> header = 3;
|
|
RandRangeConfig maxConcurrentUploads = 4;
|
|
RandRangeConfig maxUploadSize = 5;
|
|
RandRangeConfig minUploadIntervalMs = 6;
|
|
}
|
|
|
|
message RandRangeConfig {
|
|
int32 from = 1;
|
|
int32 to = 2;
|
|
}
|