net/http: Server.ServeTLS docs are wrong about H/2 #24607
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Since ServeTLS gets to create the tls.Listener, it can initialize the TLSConfig fully, and it does. So the second paragraph is wrong. (Probably because it was copied from Serve #23028.)
Also, ListenAndServeTLS doesn't mention H/2 at all, but applies the same rules as ServeTLS.
The rules are pretty messy, probably worth reviewing all [Server.][ListenAnd]Serve[TLS] docs.
See also #22018
The text was updated successfully, but these errors were encountered: