From 2629446df0cb906986f377d45cde307ffdae9675 Mon Sep 17 00:00:00 2001
From: Brad Fitzpatrick
Date: Tue, 2 Aug 2016 00:41:12 +0000
Subject: 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
---
doc/go1.7.html | 6 ++++++
1 file changed, 6 insertions(+)
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
@@ -916,6 +916,12 @@ For example, the address on which a request received is
req.Context().Value(http.LocalAddrContextKey).(net.Addr)
.
+
+The server's Serve
method
+now only enables HTTP/2 support if the Server.TLSConfig
field is nil
+or includes "h2"
in its TLSConfig.NextProto
.
+
+
The server implementation now
pads response codes less than 100 to three digits
--
cgit v1.2.3-54-g00ecf