aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-08-02 00:41:12 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-08-02 00:46:47 +0000
commit2629446df0cb906986f377d45cde307ffdae9675 (patch)
tree5bc97b3754fdb67f5c07024301c0ce23e0e615de
parentc558a539b5efaeda4b6f8e61f51c21f64d1b94f6 (diff)
downloadgo-2629446df0cb906986f377d45cde307ffdae9675.tar.gz
go-2629446df0cb906986f377d45cde307ffdae9675.zip
doc/go1.7.html: mention Server.Serve HTTP/2 behavior change
Fixes #16550 Updates #15908 Change-Id: Ic951080dbc88f96e4c00cdb3ffe24a5c03079efd Reviewed-on: https://go-review.googlesource.com/25389 Reviewed-by: Chris Broadfoot <cbro@golang.org>
-rw-r--r--doc/go1.7.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/go1.7.html b/doc/go1.7.html
index 409f7ab943..7e17ff2424 100644
--- a/doc/go1.7.html
+++ b/doc/go1.7.html
@@ -917,6 +917,12 @@ For example, the address on which a request received is
</p>
<p>
+The server's <a href="/pkg/net/http/#Server.Serve"><code>Serve</code></a> method
+now only enables HTTP/2 support if the <code>Server.TLSConfig</code> field is <code>nil</code>
+or includes <code>"h2"</code> in its <code>TLSConfig.NextProto</code>.
+</p>
+
+<p>
The server implementation now
pads response codes less than 100 to three digits
as required by the protocol,