]> Cypherpunks repositories - gostls13.git/commit
internal/poll: fix the inaccurate comment and add a edge test case
authorAndy Pan <i@andypan.me>
Tue, 29 Oct 2024 08:27:22 +0000 (16:27 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 1 Nov 2024 01:09:09 +0000 (01:09 +0000)
commit970dfe0ff0ca8540c6dea2b1427f8a93fd43706c
treec6424cc0b1f6f2875f13e9216b345ea8f54b9e43
parent6df37f70de585a9895c6c0556efe199fa65cf789
internal/poll: fix the inaccurate comment and add a edge test case

*BSD can also returns (>0, EAGAIN) with non-blocking socket,
it's therefore not macOS-specific.

Change-Id: I57a393da31fab7788ad5779a038396be8236b0f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/623056
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/internal/poll/sendfile_unix.go
src/net/sendfile_test.go