From 5975c65d4fef9b6578870477c1b70eadea72c41a Mon Sep 17 00:00:00 2001 From: Linus Yang Date: Mon, 12 Mar 2018 17:15:48 +0800 Subject: [PATCH] Notes about TFO on Windows --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f44f522..073bc83c 100644 --- a/README.md +++ b/README.md @@ -350,10 +350,17 @@ A tarball with 32-bit and 64-bit binaries will be generated in the same director You could also manually use MinGW-w64 compilers to build in Unix-like shell (MSYS2/Cygwin), or cross-compile on Unix-like systems (Linux/MacOS). Please refer to build scripts in `docker/mingw`. -Notice that currently you need to use a patched libev library for MinGW: +Currently you need to use a patched libev library for MinGW: * https://github.com/shadowsocks/libev/archive/mingw.zip +Notice that Windows (MinGW) version has some differences from other platforms: + +1. No support of plugins at the moment. +2. TCP Fast Open (TFO) is only available on **Windows 10**, **1607** or later version (precisely, build >= 14393). If you are using **1709** (build 16299) or later version, you also need to run the following command in PowerShell/Command Prompt **as Administrator** and **reboot** to use TFO properly: + + netsh int tcp set global fastopenfallback=disabled + ### Docker As you expect, simply pull the image and run.