]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add net/http changes to go1.9.html
authorKale Blankenship <kale@lemnisys.com>
Thu, 8 Jun 2017 04:11:30 +0000 (21:11 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 12 Jun 2017 21:11:36 +0000 (21:11 +0000)
Change-Id: Ib59e1eea64b0bd2cf8ed778607aafcf74a6239a3
Reviewed-on: https://go-review.googlesource.com/45087
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.9.html

index e32ae4d5dbfd81c5f6e2fb7c364052aeb5e7fb0b..34e6114c6714f29d3e2aed4eb0d01e146d402937 100644 (file)
@@ -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 -->