mirror of https://github.com/golang/go.git
doc/go1.2.html: happy eyeballs on net
Also fix trivial nits. R=golang-dev, r CC=golang-dev https://golang.org/cl/13532046
This commit is contained in:
parent
caa462137a
commit
28a8e9ba2f
|
|
@ -633,11 +633,11 @@ if it is <code>nil</code>, Floyd-Steinberg error diffusion is used.
|
|||
</li>
|
||||
|
||||
<li>
|
||||
The<a href="/pkg/io/#Copy"><code>Copy</code></a> method of the
|
||||
The <a href="/pkg/io/#Copy"><code>Copy</code></a> method of the
|
||||
<a href="/pkg/io/"><code>io</code></a> package now prioritizes its
|
||||
arguments differently.
|
||||
If one argument implements <a href="/pkg/io/#WriterTo"><code>WriterTo</code></a>
|
||||
and the other implements i<a href="/pkg/o/#ReaderFrom"><code>ReaderFrom</code></a>,
|
||||
and the other implements <a href="/pkg/io/#ReaderFrom"><code>ReaderFrom</code></a>,
|
||||
<a href="/pkg/io/#Copy"><code>Copy</code></a> will now invoke
|
||||
<a href="/pkg/io/#WriterTo"><code>WriterTo</code></a> to do the work,
|
||||
so that less intermediate buffering is required in general.
|
||||
|
|
@ -647,6 +647,13 @@ so that less intermediate buffering is required in general.
|
|||
net: TODO new build tag netgo for building a pure Go net package (CL 7100050).
|
||||
</li>
|
||||
|
||||
<li>
|
||||
The <a href="/pkg/net/"><code>net</code></a> package adds a new field
|
||||
<code>DualStack</code> to the <a href="/pkg/net/#Dialer"><code>Dialer</code></a>
|
||||
struct for TCP connection setup using a dual IP stack as described in
|
||||
<a href="http://tools.ietf.org/html/rfc6555">RFC 6555</a>.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
net/http: TODO don't allow sending invalid cookie lines (CL 12204043).
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue