Skip to content

Commit

Permalink
doc/go1.7.html: fix name of tls.Config.NextProtos
Browse files Browse the repository at this point in the history
Updates #16737

Change-Id: Ia51fc9b06df43b7c6f7136e90b40362263c20081
Reviewed-on: https://go-review.googlesource.com/27126
Reviewed-by: Chris Broadfoot <cbro@golang.org>
  • Loading branch information
bradfitz committed Aug 16, 2016
1 parent f88a884 commit 496174e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/go1.7.html
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
<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>.
or includes <code>"h2"</code> in its <code>TLSConfig.NextProtos</code>.
</p>

<p>
Expand Down

0 comments on commit 496174e

Please sign in to comment.