mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-14 04:19:36 +03:00
Enhance TCP Fast Open (#310)
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user