From: Damien Neil Date: Tue, 12 Dec 2023 19:10:35 +0000 (-0800) Subject: doc/go1.22: document zero-copy to net.UnixConn X-Git-Tag: go1.22rc1~25 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dce7f335c5f9373dc1b56d7165f1a722e9240c61;p=gostls13.git 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 --- diff --git a/doc/go1.22.html b/doc/go1.22.html index 8bcaeedc00..31218beba6 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -602,7 +602,10 @@ defer func() {
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 @@ defer func() {

- 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.