New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http: Server.ServeTLS doc uses wrong method name #23028

Closed
artyom opened this Issue Dec 7, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@artyom
Copy link
Contributor

artyom commented Dec 7, 2017

The first sentence of the third paragraph of net/http.Server.ServeTLS method documentation incorrectly calls method as Serve (likely result of copy-pasting from Serve method docs):

For HTTP/2 support, srv.TLSConfig should be initialized to the provided listener's TLS Config before calling Serve.

@gopherbot

This comment has been minimized.

Copy link

gopherbot commented Dec 7, 2017

Change https://golang.org/cl/82495 mentions this issue: net/http: use correct method name in Server.ServeTLS docs

@gopherbot gopherbot closed this in 31f8ca5 Dec 7, 2017

@golang golang locked and limited conversation to collaborators Dec 7, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.