Implement TCP-FAST-OPEN for client sockets on Windows
gatzka opened this issue · comments
Stephan Gatzka commented
- Windows: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/94d1fe8e-4f17-4b28-89eb-1ac776a2e134/how-to-create-tcp-fast-open-connections-with-winsock-?forum=windowsgeneraldevelopmentissues
- on Windows 1709 (build 16299) or later version of Windows 10, the system has a very aggressive TFO fallback mechanism and will completely disable TFO silently until next restart if fallback is hit. It is recommended to run the following command (in PowerShell/Command Prompt, requires Administrator) and reboot before trying this patch:
netsh int tcp set global fastopen=enabled
netsh int tcp set global fastopenfallback=disabled