Comment on Zero-copy in Go: sendfile, splice, and the cost of io.CopyComments−sly0102moBeware, there are versions of go where sendfile is broken and only sends the first 4k of a file on macos.−majewsky2moIf this is a thing you need to beware of, you should more importantly beware of using a version of Go that's been outdated for over 1.5 years and EOL for nearly a year.Context: https://github.com/golang/go/issues/70000 fixed in 1.23.3 (released 2024-11-06), EOL for 1.23.x was 2025-08-06
Comments
Beware, there are versions of go where sendfile is broken and only sends the first 4k of a file on macos.
If this is a thing you need to beware of, you should more importantly beware of using a version of Go that's been outdated for over 1.5 years and EOL for nearly a year.
Context: https://github.com/golang/go/issues/70000 fixed in 1.23.3 (released 2024-11-06), EOL for 1.23.x was 2025-08-06