diff --git a/src/net/http/server.go b/src/net/http/server.go index b59179fb3c..453024f4db 100644 --- a/src/net/http/server.go +++ b/src/net/http/server.go @@ -2349,7 +2349,7 @@ func Serve(l net.Listener, handler Handler) error { return srv.Serve(l) } -// Serve accepts incoming HTTPS connections on the listener l, +// ServeTLS accepts incoming HTTPS connections on the listener l, // creating a new service goroutine for each. The service goroutines // read requests and then call handler to reply to them. //