From ea165e7df0a7398174b5ffc7af2fd4575924b87b Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Wed, 13 Dec 2023 09:23:18 +0800 Subject: [PATCH] doc/go1.22: correct the system call name used for zero-copy from net.TCPConn to net.UnixConn For #58808 Change-Id: I9b27af30888aaaa9659387a32c57aaea136b1c3a Reviewed-on: https://go-review.googlesource.com/c/go/+/549335 Reviewed-by: Damien Neil Reviewed-by: Michael Pratt Auto-Submit: Michael Pratt LUCI-TryBot-Result: Go LUCI --- doc/go1.22.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index cd20bb747908e7..bf01cffce05ff6 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -616,7 +616,7 @@

Minor changes to the library

When io.Copy copies from a TCPConn to a UnixConn, - it will now use Linux's sendfile(2) system call if possible, + it will now use Linux's splice(2) system call if possible, using the new method TCPConn.WriteTo.