From c519b156fcc5e53a2a91690303cc7502261dc57b Mon Sep 17 00:00:00 2001
From: Russ Cox
- TODO: https://golang.org/cl/240014: add Func
+ The new
- TODO: https://golang.org/cl/261577: add a new ReadSeekCloser interface
+ The package now defines a
+
- TODO: https://golang.org/cl/264460: expose std via new Default function
+ The new
- TODO: https://golang.org/cl/264297: set local to true if network is any of "unix", or "unixgram"
+ The
- TODO: https://golang.org/cl/247477: return overflow errors in Reader.ReadForm
+ The
@@ -502,7 +505,8 @@ Do not send CLs removing the interior tags from such phrases.
Func
function
+ allows registering a flag implemented by calling a function,
+ as a lighter-weight alternative to implementing the
+ Value
interface.
@@ -510,7 +514,8 @@ Do not send CLs removing the interior tags from such phrases.
ReadSeekCloser
interface.
@@ -518,7 +523,11 @@ Do not send CLs removing the interior tags from such phrases.
Default
function
+ provides access to the default Logger
.
@@ -526,7 +535,10 @@ Do not send CLs removing the interior tags from such phrases.
Writer
+ now uses the local message format
+ (omitting the host name and using a shorter time stamp)
+ when logging to custom Unix domain sockets,
+ matching the format already used for the default log socket.
@@ -550,7 +562,10 @@ Do not send CLs removing the interior tags from such phrases.
Reader
's
+ ReadForm
+ method no longer rejects form data
+ when passed the maximum int64 value as a limit.
- TODO: https://golang.org/cl/238629: prefer /etc/hosts over DNS when no /etc/nsswitch.conf is present
+ On Linux, host name lookups no longer use DNS before checking
+ /etc/hosts
when /etc/nsswitch.conf
+ is missing; this is common on musl-based systems and makes
+ Go programs match the behavior of C programs on those systems.
- TODO: https://golang.org/cl/250039: set Content-Length:0 for empty PATCH requests as with POST, PATCH
+ The Client now sends
+ an explicit Content-Length:
0
+ header in PATCH
requests with empty bodies,
+ matching the existing behavior of POST
and PUT
.
- TODO: https://golang.org/cl/249440: match http scheme when selecting http_proxy
+ The ProxyFromEnvironment function
+ no longer returns the setting of the HTTP_PROXY
environment
+ variable for https://
URLs when HTTPS_PROXY
is unset.
- TODO: https://golang.org/cl/260637: flush ReverseProxy immediately if Content-Length is -1 + The ReverseProxy + now flushes buffered data more aggressively when proxying + streamed responses with unknown body lengths.
- TODO: https://golang.org/cl/247257: adds support for the SMTPUTF8 extension
+ The Client's
+ Mail
+ method now sends the SMTPUTF8
directive to
+ servers that support it, signaling that addresses are encoded in UTF-8.
- TODO: https://golang.org/cl/219640: add NotifyContext to cancel context using system signals
+ The new
+ NotifyContext
+ function allows creating contexts that are canceled upon arrival of
+ specific signals.
- TODO: https://golang.org/cl/210639: support POSIX semantics for Linux syscalls
+ On Linux,
+ Setgid
,
+ Setuid
,
+ and related calls are now implemented.
+ Previously, they returned an syscall.EOPNOTSUPP
error.