]> Cypherpunks repositories - gostls13.git/commit
net/http: fix documentation on Server.TLSNextProto controlling http2
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 10 Nov 2016 20:28:14 +0000 (20:28 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 10 Nov 2016 21:08:41 +0000 (21:08 +0000)
commitab0ae44e91efec4440828406ef1929488a8b1b06
tree65f033b58334631ea81624c5f6a4424e6d8d4603
parent76f12cdaa2be0b96d314762ff5b2e403d1359cd8
net/http: fix documentation on Server.TLSNextProto controlling http2

Server.TLSNextProto being nil is necessary but not sufficient but
http2 being automatically enabled.

Fixes #16588

Change-Id: I5b18690582f9b12ef05b58235e1eaa52483be285
Reviewed-on: https://go-review.googlesource.com/33090
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/server.go