]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.21] internal/poll: add SPLICE_F_NONBLOCK flag for splice to avoid...
authorAndy Pan <panjf2000@gmail.com>
Tue, 17 Oct 2023 14:38:17 +0000 (22:38 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 8 Nov 2023 18:02:42 +0000 (18:02 +0000)
commit8ae493b5b8a3ebb435d4af87b4266730d7424700
tree468779791b7b1d9b36020e3d9fba6fbc50d098a2
parentb9f245b8d3f851f04ad46d4dcc1928a0790c3383
[release-branch.go1.21] internal/poll: add SPLICE_F_NONBLOCK flag for splice to avoid inconsistency with O_NONBLOCK

Fixes #63801
Updates #59041
Updates #63795

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>
(cherry picked from commit 40cdf69fc9279ab28f84a6e0f965de8382c578fe)
Reviewed-on: https://go-review.googlesource.com/c/go/+/538117
Auto-Submit: Heschi Kreinick <heschi@google.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/internal/poll/splice_linux.go