diff --git a/doc/go1.17.html b/doc/go1.17.html index 194d3a0cd84..8313c2bc575 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -418,15 +418,20 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://golang.org/cl/272668: add IP.IsPrivate
+ The new method IP.IsPrivate
reports whether an address is
+ a private IPv4 address according to RFC 1918
+ or a local IPv6 address according RFC 4193.
- TODO: https://golang.org/cl/301709: make go resolver aware of network parameter + The Go DNS resolver now only sends one DNS query when resolving an address for an IPv4-only or IPv6-only network, + rather than querying for both address families.
- TODO: https://golang.org/cl/307030: make ErrClosed and ParseError implement net.Error
+ The ErrClosed
sentinel error and
+ ParseError
error type now implement
+ the net.Error
interface.
- TODO: https://golang.org/cl/235437: add to deadlines only when positive
+ Setting the Server
+ ReadTimeout
or WriteTimeout
fields to a negative value now indicates no timeout
+ rather than an immediate timeout.
@@ -454,7 +461,10 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://golang.org/cl/308950: panic on non-3 digit (XXX) status code in Recorder.WriteHeader
+ ResponseRecorder.WriteHeader>
+ now panics when the provided code is not a valid three-digit HTTP status code.
+ This matches the behavior of ResponseWriter>
+ implementations in the net/http
package.
- TODO: https://golang.org/cl/314850: add Values.Has
+ The new method Values.Has
+ reports whether a query parameter is set.