From dce7f335c5f9373dc1b56d7165f1a722e9240c61 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Tue, 12 Dec 2023 11:10:35 -0800 Subject: [PATCH] doc/go1.22: document zero-copy to net.UnixConn For #58808 Change-Id: Id73b9e4b5fb96426a01b76ce7a1053a6ad61a58e Reviewed-on: https://go-review.googlesource.com/c/go/+/549197 LUCI-TryBot-Result: Go LUCI Reviewed-by: Roland Shoemaker Auto-Submit: Damien Neil --- doc/go1.22.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index 8bcaeedc00584f..31218beba64641 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -602,7 +602,10 @@

Minor changes to the library

net

- TODO: https://go.dev/issue/58808: arrange zero-copy of os.File and TCPConn to UnixConn + When io.Copy copies + from a TCPConn to a UnixConn, + it will now use Linux's sendfile(2) system call if possible, + using the new method TCPConn.WriteTo.

@@ -672,7 +675,10 @@

Minor changes to the library

- TODO: https://go.dev/issue/58808: arrange zero-copy of os.File and TCPConn to UnixConn + When io.Copy copies + from a File to a net.UnixConn, + it will now use Linux's sendfile(2) system call if possible, + using the new method File.WriteTo.