]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix copy-paste error in the ServeTLS docs
authorIan Kent <iankent85@gmail.com>
Sat, 23 Sep 2017 20:45:35 +0000 (21:45 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 10 Nov 2017 04:40:13 +0000 (04:40 +0000)
Change-Id: Id7f0d978ce5b0471a404d6e6673b789e7db04650
Reviewed-on: https://go-review.googlesource.com/65653
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/server.go

index b59179fb3c506f318ed29b2b072168f4d9cdd04f..453024f4db46a9a5f11eb93d4bdfdf48e749ea5d 100644 (file)
@@ -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.
 //