@ -28,9 +28,9 @@ type Config struct {
Host string ` protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty" `
Path string ` protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty" `
Header map [ string ] string ` protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" `
MaxConcurrentUpload s * RandRangeConfig ` protobuf:"bytes,4,opt,name=maxConcurrentUploads,proto3" json:"maxConcurrentUpload s,omitempty" `
MaxUploadSize * RandRangeConfig ` protobuf:"bytes,5,opt,name=maxUploadSize,proto3" json:"maxUploadSize ,omitempty" `
MinUploadIntervalMs * RandRangeConfig ` protobuf:"bytes,6,opt,name=minUploadIntervalMs,proto3" json:"minUpload IntervalMs,omitempty" `
ScMaxConcurrentPost s * RandRangeConfig ` protobuf:"bytes,4,opt,name=scMaxConcurrentPosts,proto3" json:"scMaxConcurrentPost s,omitempty" `
ScMaxEachPostBytes * RandRangeConfig ` protobuf:"bytes,5,opt,name=scMaxEachPostBytes,proto3" json:"scMaxEachPostBytes ,omitempty" `
ScMinPostsIntervalMs * RandRangeConfig ` protobuf:"bytes,6,opt,name=scMinPostsIntervalMs,proto3" json:"scMinPosts IntervalMs,omitempty" `
NoSSEHeader bool ` protobuf:"varint,7,opt,name=noSSEHeader,proto3" json:"noSSEHeader,omitempty" `
}
@ -87,23 +87,23 @@ func (x *Config) GetHeader() map[string]string {
return nil
}
func ( x * Config ) GetMaxConcurrentUpload s ( ) * RandRangeConfig {
func ( x * Config ) GetScMaxConcurrentPost s ( ) * RandRangeConfig {
if x != nil {
return x . MaxConcurrentUpload s
return x . ScMaxConcurrentPost s
}
return nil
}
func ( x * Config ) GetMaxUploadSize ( ) * RandRangeConfig {
func ( x * Config ) GetScMaxEachPostBytes ( ) * RandRangeConfig {
if x != nil {
return x . MaxUploadSize
return x . ScMaxEachPostBytes
}
return nil
}
func ( x * Config ) GetMinUpload IntervalMs ( ) * RandRangeConfig {
func ( x * Config ) GetScMinPosts IntervalMs ( ) * RandRangeConfig {
if x != nil {
return x . MinUpload IntervalMs
return x . ScMinPosts IntervalMs
}
return nil
}
@ -177,7 +177,7 @@ var file_transport_internet_splithttp_config_proto_rawDesc = []byte{
0x72 , 0x6e , 0x65 , 0x74 , 0x2f , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 , 0x68 , 0x74 , 0x74 , 0x70 , 0x2f , 0x63 ,
0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x12 , 0x21 , 0x78 , 0x72 , 0x61 ,
0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2e , 0x69 , 0x6e , 0x74 , 0x65 ,
0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 , 0x68 , 0x74 , 0x74 , 0x70 , 0x22 , 0x84 ,
0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 , 0x68 , 0x74 , 0x74 , 0x70 , 0x22 , 0x86 ,
0x04 , 0x0a , 0x06 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x12 , 0x12 , 0x0a , 0x04 , 0x68 , 0x6f , 0x73 ,
0x74 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x68 , 0x6f , 0x73 , 0x74 , 0x12 , 0x12 , 0x0a ,
0x04 , 0x70 , 0x61 , 0x74 , 0x68 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x04 , 0x70 , 0x61 , 0x74 ,
@ -192,37 +192,37 @@ var file_transport_internet_splithttp_config_proto_rawDesc = []byte{
0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 , 0x68 , 0x74 ,
0x74 , 0x70 , 0x2e , 0x52 , 0x61 , 0x6e , 0x64 , 0x52 , 0x61 , 0x6e , 0x67 , 0x65 , 0x43 , 0x6f , 0x6e , 0x66 ,
0x69 , 0x67 , 0x52 , 0x14 , 0x6d , 0x61 , 0x78 , 0x43 , 0x6f , 0x6e , 0x63 , 0x75 , 0x72 , 0x72 , 0x65 , 0x6e ,
0x74 , 0x55 , 0x70 , 0x6c , 0x6f , 0x61 , 0x64 , 0x73 , 0x12 , 0x58 , 0x0a , 0x0d , 0x6d , 0x61 , 0x78 , 0x55 ,
0x70 , 0x6c , 0x6f , 0x61 , 0x64 , 0x53 , 0x69 , 0x7a , 0x65 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 ,
0x32 , 0x2e , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 ,
0x2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 , 0x68 ,
0x74 , 0x74 , 0x70 , 0x2e , 0x52 , 0x61 , 0x6e , 0x64 , 0x52 , 0x61 , 0x6e , 0x67 , 0x65 , 0x43 , 0x6f , 0x6e ,
0x66 , 0x69 , 0x67 , 0x52 , 0x0d , 0x6d , 0x61 , 0x78 , 0x55 , 0x70 , 0x6c , 0x6f , 0x61 , 0x64 , 0x53 , 0x69 ,
0x7a , 0x65 , 0x12 , 0x64 , 0x0a , 0x13 , 0x6d , 0x69 , 0x6e , 0x55 , 0x70 , 0x6c , 0x6f , 0x61 , 0x64 , 0x49 ,
0x6e , 0x74 , 0x65 , 0x72 , 0x76 , 0x61 , 0x6c , 0x4d , 0x73 , 0x18 , 0x06 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 ,
0x32 , 0x2e , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 ,
0x2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 , 0x68 ,
0x74 , 0x74 , 0x70 , 0x2e , 0x52 , 0x61 , 0x6e , 0x64 , 0x52 , 0x61 , 0x6e , 0x67 , 0x65 , 0x43 , 0x6f , 0x6e ,
0x66 , 0x69 , 0x67 , 0x52 , 0x13 , 0x6d , 0x69 , 0x6e , 0x55 , 0x70 , 0x6c , 0x6f , 0x61 , 0x64 , 0x49 , 0x6e ,
0x74 , 0x65 , 0x72 , 0x76 , 0x61 , 0x6c , 0x4d , 0x73 , 0x12 , 0x20 , 0x0a , 0x0b , 0x6e , 0x6f , 0x53 , 0x53 ,
0x45 , 0x48 , 0x65 , 0x61 , 0x64 , 0x65 , 0x72 , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x0b , 0x6e ,
0x6f , 0x53 , 0x53 , 0x45 , 0x48 , 0x65 , 0x61 , 0x64 , 0x65 , 0x72 , 0x1a , 0x39 , 0x0a , 0x0b , 0x48 , 0x65 ,
0x61 , 0x64 , 0x65 , 0x72 , 0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x12 , 0x10 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 ,
0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x14 , 0x0a , 0x05 , 0x76 ,
0x61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 ,
0x65 , 0x3a , 0x02 , 0x38 , 0x01 , 0x22 , 0x35 , 0x0a , 0x0f , 0x52 , 0x61 , 0x6e , 0x64 , 0x52 , 0x61 , 0x6e ,
0x67 , 0x65 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x12 , 0x12 , 0x0a , 0x04 , 0x66 , 0x72 , 0x6f , 0x6d ,
0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x05 , 0x52 , 0x04 , 0x66 , 0x72 , 0x6f , 0x6d , 0x12 , 0x0e , 0x0a , 0x02 ,
0x74 , 0x6f , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x05 , 0x52 , 0x02 , 0x74 , 0x6f , 0x42 , 0x85 , 0x01 , 0x0a ,
0x25 , 0x63 , 0x6f , 0x6d , 0x2e , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 ,
0x6f , 0x72 , 0x74 , 0x2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 , 0x70 , 0x6c ,
0x69 , 0x74 , 0x68 , 0x74 , 0x74 , 0x70 , 0x50 , 0x01 , 0x5a , 0x36 , 0x67 , 0x69 , 0x74 , 0x68 , 0x75 , 0x62 ,
0x2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x78 , 0x74 , 0x6c , 0x73 , 0x2f , 0x78 , 0x72 , 0x61 , 0x79 , 0x2d , 0x63 ,
0x6f , 0x72 , 0x65 , 0x2f , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2f , 0x69 , 0x6e ,
0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2f , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 , 0x68 , 0x74 , 0x74 , 0x70 ,
0xaa , 0x02 , 0x21 , 0x58 , 0x72 , 0x61 , 0x79 , 0x2e , 0x54 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 ,
0x74 , 0x2e , 0x49 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x53 , 0x70 , 0x6c , 0x69 , 0x74 ,
0x48 , 0x74 , 0x74 , 0x70 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
0x74 , 0x55 , 0x70 , 0x6c , 0x6f , 0x61 , 0x64 , 0x73 , 0x12 , 0x5a , 0x0a , 0x0e , 0x6d , 0x61 , 0x78 , 0x55 ,
0x70 , 0x6c , 0x6f , 0x61 , 0x64 , 0x42 , 0x79 , 0x74 , 0x65 , 0x73 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x0b ,
0x32 , 0x32 , 0x 2e , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 ,
0x74 , 0x 2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 ,
0x68 , 0x 74 , 0x74 , 0x70 , 0x2e , 0x52 , 0x61 , 0x6e , 0x64 , 0x52 , 0x61 , 0x6e , 0x67 , 0x65 , 0x43 , 0x6f ,
0x6e , 0x6 6 , 0x69 , 0x67 , 0x52 , 0x0e , 0x6d , 0x61 , 0x78 , 0x55 , 0x70 , 0x6c , 0x6f , 0x61 , 0x64 , 0x42 ,
0x79 , 0x74 , 0x65 , 0x73 , 0x12 , 0x64 , 0x0a , 0x13 , 0x6d , 0x69 , 0x6e , 0x55 , 0x70 , 0x6c , 0x6f , 0x61 ,
0x64 , 0x49 , 0x6 e , 0x74 , 0x65 , 0x72 , 0x76 , 0x61 , 0x6c , 0x4d , 0x73 , 0x18 , 0x06 , 0x20 , 0x01 , 0x28 ,
0x0b , 0x32 , 0x 32 , 0x2e , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f ,
0x72 , 0x74 , 0x 2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 , 0x70 , 0x6c , 0x69 ,
0x74 , 0x68 , 0x74 , 0x 74 , 0x70 , 0x2e , 0x52 , 0x61 , 0x6e , 0x64 , 0x52 , 0x61 , 0x6e , 0x67 , 0x65 , 0x43 ,
0x6f , 0x6e , 0x6 6 , 0x69 , 0x67 , 0x52 , 0x13 , 0x6d , 0x69 , 0x6e , 0x55 , 0x70 , 0x6c , 0x6f , 0x61 , 0x64 ,
0x49 , 0x6e , 0x 74 , 0x65 , 0x72 , 0x76 , 0x61 , 0x6c , 0x4d , 0x73 , 0x12 , 0x20 , 0x0a , 0x0b , 0x6e , 0x6f ,
0x53 , 0x53 , 0x 45 , 0x48 , 0x65 , 0x61 , 0x64 , 0x65 , 0x72 , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 ,
0x0b , 0x6e , 0x 6f , 0x53 , 0x53 , 0x45 , 0x48 , 0x65 , 0x61 , 0x64 , 0x65 , 0x72 , 0x1a , 0x39 , 0x0a , 0x0b ,
0x48 , 0x65 , 0x 61 , 0x64 , 0x65 , 0x72 , 0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x12 , 0x10 , 0x0a , 0x03 , 0x6b ,
0x65 , 0x79 , 0x 18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x14 , 0x0a ,
0x05 , 0x76 , 0x 61 , 0x6c , 0x75 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x05 , 0x76 , 0x61 ,
0x6c , 0x75 , 0x6 5 , 0x3a , 0x02 , 0x38 , 0x01 , 0x22 , 0x35 , 0x0a , 0x0f , 0x52 , 0x61 , 0x6e , 0x64 , 0x52 ,
0x61 , 0x6e , 0x6 7 , 0x65 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x12 , 0x12 , 0x0a , 0x04 , 0x66 , 0x72 ,
0x6f , 0x6d , 0x 18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x05 , 0x52 , 0x04 , 0x66 , 0x72 , 0x6f , 0x6d , 0x12 , 0x0e ,
0x0a , 0x02 , 0x 74 , 0x6f , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x05 , 0x52 , 0x02 , 0x74 , 0x6f , 0x42 , 0x85 ,
0x01 , 0x0a , 0x 25 , 0x63 , 0x6f , 0x6d , 0x2e , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e ,
0x73 , 0x70 , 0x 6f , 0x72 , 0x74 , 0x2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x73 ,
0x70 , 0x6c , 0x 69 , 0x74 , 0x68 , 0x74 , 0x74 , 0x70 , 0x50 , 0x01 , 0x5a , 0x36 , 0x67 , 0x69 , 0x74 , 0x68 ,
0x75 , 0x62 , 0x 2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x78 , 0x74 , 0x6c , 0x73 , 0x2f , 0x78 , 0x72 , 0x61 , 0x79 ,
0x2d , 0x63 , 0x 6f , 0x72 , 0x65 , 0x2f , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2f ,
0x69 , 0x6e , 0x 74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2f , 0x73 , 0x70 , 0x6c , 0x69 , 0x74 , 0x68 , 0x74 ,
0x74 , 0x70 , 0x aa , 0x02 , 0x21 , 0x58 , 0x72 , 0x61 , 0x79 , 0x2e , 0x54 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 ,
0x6f , 0x72 , 0x 74 , 0x2e , 0x49 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x53 , 0x70 , 0x6c ,
0x69 , 0x74 , 0x 48 , 0x74 , 0x74 , 0x70 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
}
var (
@ -245,9 +245,9 @@ var file_transport_internet_splithttp_config_proto_goTypes = []interface{}{
}
var file_transport_internet_splithttp_config_proto_depIdxs = [ ] int32 {
2 , // 0: xray.transport.internet.splithttp.Config.header:type_name -> xray.transport.internet.splithttp.Config.HeaderEntry
1 , // 1: xray.transport.internet.splithttp.Config.maxConcurrentUpload s:type_name -> xray.transport.internet.splithttp.RandRangeConfig
1 , // 2: xray.transport.internet.splithttp.Config.maxUploadSize :type_name -> xray.transport.internet.splithttp.RandRangeConfig
1 , // 3: xray.transport.internet.splithttp.Config.minUpload IntervalMs:type_name -> xray.transport.internet.splithttp.RandRangeConfig
1 , // 1: xray.transport.internet.splithttp.Config.scMaxConcurrentPost s:type_name -> xray.transport.internet.splithttp.RandRangeConfig
1 , // 2: xray.transport.internet.splithttp.Config.scMaxEachPostBytes :type_name -> xray.transport.internet.splithttp.RandRangeConfig
1 , // 3: xray.transport.internet.splithttp.Config.scMinPosts IntervalMs:type_name -> xray.transport.internet.splithttp.RandRangeConfig
4 , // [4:4] is the sub-list for method output_type
4 , // [4:4] is the sub-list for method input_type
4 , // [4:4] is the sub-list for extension type_name