mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-01 01:44:15 +00:00
XHTTP client: Refactor "packet-up" mode, chasing "stream-up" (#4150)
* Add wroteRequest (waiting for new quic-go) * Use XTLS/quic-go instead * Client doesn't need `scMaxConcurrentPosts` anymore * GotConn is available in H3 * `scMaxConcurrentPosts` -> `scMaxBufferedPosts` (server only, 30 by default) Fixes https://github.com/XTLS/Xray-core/issues/4100
This commit is contained in:
parent
6be3c35db8
commit
8cd9a74376
10 changed files with 235 additions and 250 deletions
|
@ -11,17 +11,17 @@ import "transport/internet/config.proto";
|
|||
message Config {
|
||||
string host = 1;
|
||||
string path = 2;
|
||||
map<string, string> header = 3;
|
||||
RandRangeConfig scMaxConcurrentPosts = 4;
|
||||
RandRangeConfig scMaxEachPostBytes = 5;
|
||||
RandRangeConfig scMinPostsIntervalMs = 6;
|
||||
string mode = 3;
|
||||
map<string, string> headers = 4;
|
||||
RandRangeConfig xPaddingBytes = 5;
|
||||
bool noGRPCHeader = 6;
|
||||
bool noSSEHeader = 7;
|
||||
RandRangeConfig xPaddingBytes = 8;
|
||||
Multiplexing xmux = 9;
|
||||
xray.transport.internet.StreamConfig downloadSettings = 10;
|
||||
string mode = 11;
|
||||
bool noGRPCHeader = 12;
|
||||
int64 keepAlivePeriod = 13;
|
||||
RandRangeConfig scMaxEachPostBytes = 8;
|
||||
RandRangeConfig scMinPostsIntervalMs = 9;
|
||||
int64 scMaxBufferedPosts = 10;
|
||||
int64 keepAlivePeriod = 11;
|
||||
Multiplexing xmux = 12;
|
||||
xray.transport.internet.StreamConfig downloadSettings = 13;
|
||||
}
|
||||
|
||||
message RandRangeConfig {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue