XHTTP: The real upload / download splitting (#3955)

* SplitHTTP client: Add real upload / download splitting

* Transport: Add XHTTP as an alias of SplitHTTP

* XHTTP config: Use `downloadSettings` instead
This commit is contained in:
RPRX
2024-10-31 07:31:19 +00:00
committed by GitHub
parent e733148c0b
commit b30e05d1bc
6 changed files with 317 additions and 219 deletions
+4
View File
@@ -7,6 +7,7 @@ option java_package = "com.xray.transport.internet";
option java_multiple_files = true;
import "common/serial/typed_message.proto";
import "common/net/address.proto";
enum DomainStrategy {
AS_IS = 0;
@@ -31,6 +32,9 @@ message TransportConfig {
}
message StreamConfig {
xray.common.net.IPOrDomain address = 8;
uint32 port = 9;
// Effective network.
string protocol_name = 5;