mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-15 05:03:20 +00:00
b1c6471eeb
https://github.com/XTLS/Xray-core/pull/3613#issuecomment-2351954957 Closes https://github.com/XTLS/Xray-core/issues/3560#issuecomment-2247495778 --------- Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
32 lines
855 B
Protocol Buffer
32 lines
855 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;
|
|
RandRangeConfig xPaddingBytes = 8;
|
|
Multiplexing xmux = 9;
|
|
}
|
|
|
|
message RandRangeConfig {
|
|
int32 from = 1;
|
|
int32 to = 2;
|
|
}
|
|
|
|
message Multiplexing {
|
|
RandRangeConfig maxConnections = 1;
|
|
RandRangeConfig maxConcurrency = 2;
|
|
RandRangeConfig cMaxReuseTimes = 3;
|
|
RandRangeConfig cMaxLifetimeMs = 4;
|
|
}
|