diff --git a/doc/go1.16.html b/doc/go1.16.html index edac1dbd35..2190ed6cd3 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -721,8 +721,8 @@ func TestFoo(t *testing.T) {
The case of I/O on a closed network connection, or I/O on a network
connection that is closed before any of the I/O completes, can now
- be detected using the new ErrClosed error.
- A typical use would be errors.Is(err, net.ErrClosed).
+ be detected using the new ErrClosed
+ error. A typical use would be errors.Is(err, net.ErrClosed).
In earlier releases the only way to reliably detect this case was to
match the string returned by the Error method
with "use of closed network connection".
@@ -786,9 +786,10 @@ func TestFoo(t *testing.T) {
- The ProxyFromEnvironment function
- no longer returns the setting of the HTTP_PROXY environment
- variable for https:// URLs when HTTPS_PROXY is unset.
+ The ProxyFromEnvironment
+ function no longer returns the setting of the HTTP_PROXY
+ environment variable for https:// URLs when
+ HTTPS_PROXY is unset.
- The ReverseProxy
+ ReverseProxy
now flushes buffered data more aggressively when proxying
streamed responses with unknown body lengths.