Skip to content
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
Closed

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

artyom opened this issue Dec 7, 2017 · 1 comment

Comments

@artyom
Copy link
Member

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
Copy link

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

@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.
Projects
None yet
Development

No branches or pull requests

2 participants