aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/arithmetic.go
diff options
context:
space:
mode:
authorShibi J M <shibisjm@gmail.com>2025-05-20 03:59:15 +0000
committerGopher Robot <gobot@golang.org>2025-05-20 11:06:59 -0700
commitbe0cc937ec9c109da90ec4d7da5af89606f8c0cf (patch)
tree7081272ffb6c8b02282455e8072df8514a621749 /test/codegen/arithmetic.go
parent0c7311e9ca8440801b40928878db623f98e3008f (diff)
downloadgo-be0cc937ec9c109da90ec4d7da5af89606f8c0cf.tar.xz
net: avoid using Windows' TransmitFile on non-server machines
Windows API's TransmitFile function is limited to two concurrent operations on workstation and client versions of Windows. This change modifies the net.sendFile function to perform no work in such cases so that TransmitFile is avoided. Fixes #73746 Change-Id: Iba70d5d2758bf986e80c78254c8e9e10b39bb368 GitHub-Last-Rev: 315ddc0cd8034f52632dc31baf35057a8bad9bcd GitHub-Pull-Request: golang/go#73758 Reviewed-on: https://go-review.googlesource.com/c/go/+/673855 Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Quim Muntal <quimmuntal@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'test/codegen/arithmetic.go')
0 files changed, 0 insertions, 0 deletions