mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
Revert "enable readv reader on windows"
This reverts commit 4bd1ef0650
.
This commit is contained in:
parent
7bc45eb8aa
commit
8899f985ce
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user