mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-23 13:46:06 +03:00
30af792777
* maxUploadSize -> scMaxEachPostBytes, default is 1MB on both sides (was 2MB on the server) * minUploadIntervalMs -> scMinPostsIntervalMs, default is 30ms on the client (no server support for now) * maxConcurrentUploads -> scMaxConcurrentPosts, default is 100 on both sides (was 200 on the server)
23 lines
615 B
Protocol Buffer
23 lines
615 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 scMaxConcurrentPosts = 4;
|
|
RandRangeConfig scMaxEachPostBytes = 5;
|
|
RandRangeConfig scMinPostsIntervalMs = 6;
|
|
bool noSSEHeader = 7;
|
|
}
|
|
|
|
message RandRangeConfig {
|
|
int32 from = 1;
|
|
int32 to = 2;
|
|
}
|