mirror of
https://github.com/golang/go
synced 2024-11-12 00:20:22 -07:00
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>
This commit is contained in:
parent
3bcdbe57b6
commit
15b1e4fb94
@ -447,17 +447,35 @@ type T1 = T2
|
|||||||
|
|
||||||
<dl id="net/http"><dt><a href="/pkg/net/http/">net/http</a></dt>
|
<dl id="net/http"><dt><a href="/pkg/net/http/">net/http</a></dt>
|
||||||
<dd>
|
<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 -->
|
<p>Server changes:</p>
|
||||||
TODO: <a href="https://golang.org/cl/38194">https://golang.org/cl/38194</a>: strip port from host in mux Handler
|
<ul>
|
||||||
</p>
|
<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>
|
||||||
|
|
||||||
<p><!-- CL 43231 -->
|
<li><!-- CL 34727 -->
|
||||||
TODO: <a href="https://golang.org/cl/43231">https://golang.org/cl/43231</a>: for http2, use the priority write scheduler by default
|
<a href="/pkg/net/http/#Server.WriteTimeout"><code>Server.WriteTimeout</code></a>
|
||||||
</p>
|
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 & 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 -->
|
</dl><!-- net/http -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user