]> Cypherpunks.ru repositories - gostls13.git/commit
internal/poll: add SPLICE_F_NONBLOCK flag for splice to avoid inconsistency with...
authorAndy Pan <panjf2000@gmail.com>
Tue, 17 Oct 2023 14:38:17 +0000 (22:38 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 19 Oct 2023 00:53:12 +0000 (00:53 +0000)
commit40cdf69fc9279ab28f84a6e0f965de8382c578fe
tree696c7b4b9046840b5c13801793e08691417c50cf
parentf3a2459caa2bd360fee782de8cf8d4de724a7316
internal/poll: add SPLICE_F_NONBLOCK flag for splice to avoid inconsistency with O_NONBLOCK

For #59041

Details: https://github.com/golang/go/issues/59041#issuecomment-1766610087

Change-Id: Id3fc1df6d86b7c4cc383d09f9465fa8f4cc2a559
Reviewed-on: https://go-review.googlesource.com/c/go/+/536015
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/internal/poll/splice_linux.go