mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 17:38:41 +00:00
Enhance TCP Fast Open (#310)
This commit is contained in:
parent
e1a5392beb
commit
ad1807dd99
9 changed files with 147 additions and 198 deletions
|
@ -54,17 +54,8 @@ message SocketConfig {
|
|||
// Mark of the connection. If non-zero, the value will be set to SO_MARK.
|
||||
int32 mark = 1;
|
||||
|
||||
enum TCPFastOpenState {
|
||||
// AsIs is to leave the current TFO state as is, unmodified.
|
||||
AsIs = 0;
|
||||
// Enable is for enabling TFO explictly.
|
||||
Enable = 1;
|
||||
// Disable is for disabling TFO explictly.
|
||||
Disable = 2;
|
||||
}
|
||||
|
||||
// TFO is the state of TFO settings.
|
||||
TCPFastOpenState tfo = 2;
|
||||
int32 tfo = 2;
|
||||
|
||||
enum TProxyMode {
|
||||
// TProxy is off.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue