diff options
| author | Ian Kent <iankent85@gmail.com> | 2017-09-23 21:45:35 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-11-10 04:40:13 +0000 |
| commit | 17f35c6993cdaf197db79cc6e62108f05f60bd0b (patch) | |
| tree | 00e5fbd455cb74e8a8cc448fcb7071365d7f3992 /src | |
| parent | 3e97c42f77288b06a125cecd199aee4c6a23bc10 (diff) | |
| download | go-17f35c6993cdaf197db79cc6e62108f05f60bd0b.tar.xz | |
net/http: fix copy-paste error in the ServeTLS docs
Change-Id: Id7f0d978ce5b0471a404d6e6673b789e7db04650
Reviewed-on: https://go-review.googlesource.com/65653
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/http/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
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. // |
