feat: tcp fast open

This commit is contained in:
cubemaze committed 2023-06-03 12:56:16 +08:00
1 parent f034bbd39b
commit 7dbb148b90
3 files changed
+4 -1

No files matched your search

+1
View File
@@ -114,6 +114,7 @@ func BuildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag s
config.EnableProxyProtocol {
sockoptConfig := &coreConf.SocketConfig{
AcceptProxyProtocol: config.EnableProxyProtocol,
TFO: config.EnableTFO,
} //Enable proxy protocol
in.StreamSetting.SocketSettings = sockoptConfig
}