]> Cypherpunks repositories - gostls13.git/commit
net/http: add missing ServeTLS on the comment of http.Server.Shutdown
authort-katsumura <t.katsumura.ggl@gmail.com>
Sat, 10 May 2025 23:43:40 +0000 (08:43 +0900)
committerGopher Robot <gobot@golang.org>
Mon, 12 May 2025 17:08:48 +0000 (10:08 -0700)
commite513cd4e409f1d42df02a42b43eceb87473b229a
tree78bc8077458a7d67246055a507936f506fef2904
parente666f1dabf5174710919ab7cff3e8afefd9ac049
net/http: add missing ServeTLS on the comment of http.Server.Shutdown

A sentinel error http.ErrServerClosed is returned after Server.Shutdown
and Server.Close but it is not documented on the Server.Shutdown while
other methods such as Server.Serve are documented on it.

Change-Id: Id82886d9d6a1474a514d62e9169b35f3579a9eee
Reviewed-on: https://go-review.googlesource.com/c/go/+/671695
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
src/net/http/server.go