aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKale Blankenship <kale@lemnisys.com>2017-06-07 21:11:30 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2017-06-12 21:11:36 +0000
commit15b1e4fb94a23c17c594b5e77b3bd81eed880dee (patch)
tree11b1c02e065d588dad01b4d0ee4e936320689f00
parent3bcdbe57b6847e5fc3ab16016f5f66d9960fff97 (diff)
downloadgo-15b1e4fb94a23c17c594b5e77b3bd81eed880dee.tar.gz
go-15b1e4fb94a23c17c594b5e77b3bd81eed880dee.zip
doc: add net/http changes to go1.9.html
Change-Id: Ib59e1eea64b0bd2cf8ed778607aafcf74a6239a3 Reviewed-on: https://go-review.googlesource.com/45087 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--doc/go1.9.html38
1 files changed, 28 insertions, 10 deletions
diff --git a/doc/go1.9.html b/doc/go1.9.html
index e32ae4d5db..34e6114c67 100644
--- a/doc/go1.9.html
+++ b/doc/go1.9.html
@@ -447,17 +447,35 @@ type T1 = T2
<dl id="net/http"><dt><a href="/pkg/net/http/">net/http</a></dt>
<dd>
- <p><!-- CL 35488 -->
- TODO: <a href="https://golang.org/cl/35488">https://golang.org/cl/35488</a>: add support for socks5 proxy
- </p>
-
- <p><!-- CL 38194 -->
- TODO: <a href="https://golang.org/cl/38194">https://golang.org/cl/38194</a>: strip port from host in mux Handler
- </p>
- <p><!-- CL 43231 -->
- TODO: <a href="https://golang.org/cl/43231">https://golang.org/cl/43231</a>: for http2, use the priority write scheduler by default
- </p>
+ <p>Server changes:</p>
+ <ul>
+ <li><!-- CL 38194 -->
+ <a href="/pkg/net/http/#ServeMux"><code>ServeMux</code></a> now ignores ports in the host
+ header when matching handlers. The host is matched unmodified for <code>CONNECT</code> requests.
+ </li>
+
+ <li><!-- CL 34727 -->
+ <a href="/pkg/net/http/#Server.WriteTimeout"><code>Server.WriteTimeout</code></a>
+ now applies to HTTP/2 connections and is enforced per-stream.
+ </li>
+
+ <li><!-- CL 43231 -->
+ HTTP/2 now uses the priority write scheduler by default.
+ Frames are scheduled by following HTTP/2 priorities as described in
+ <a href="https://tools.ietf.org/html/rfc7540#section-5.3">RFC 7540 Section 5.3</a>.
+ </li>
+ </ul>
+
+ <p>Client &amp; Transport changes:</p>
+ <ul>
+ <li><!-- CL 35488 -->
+ The <a href="/pkg/net/http/#Transport"><code>Transport</code></a>
+ now supports making requests via SOCKS5 proxy when the URL returned by
+ <a href="/net/http/#Transport.Proxy"><code>Transport.Proxy</code></a>
+ has the scheme <code>socks5</code>.
+ </li>
+ </ul>
</dl><!-- net/http -->