diff --git a/common/buf/readv_reader.go b/common/buf/readv_reader.go index b624b1b71..d4c6617a3 100644 --- a/common/buf/readv_reader.go +++ b/common/buf/readv_reader.go @@ -142,7 +142,7 @@ func init() { value := platform.NewEnvFlag("v2ray.buf.readv").GetValue(func() string { return defaultFlagValue }) switch value { case defaultFlagValue, "auto": - if (runtime.GOARCH == "386" || runtime.GOARCH == "amd64" || runtime.GOARCH == "s390x") && (runtime.GOOS == "linux" || runtime.GOOS == "darwin" || runtime.GOOS == "windows") { + if (runtime.GOARCH == "386" || runtime.GOARCH == "amd64" || runtime.GOARCH == "s390x") && (runtime.GOOS == "linux" || runtime.GOOS == "darwin") { useReadv = true } case "enable":