Skip to content

Commit

Permalink
Revert "enable readv reader on windows"
Browse files Browse the repository at this point in the history
This reverts commit 4bd1ef0.
  • Loading branch information
DarienRaymond committed Aug 25, 2018
1 parent 7bc45eb commit 8899f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/buf/readv_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 8899f98

Please sign in to comment.