From a4c881083a337102ba3b0f349445de40b929419d Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Mon, 26 Sep 2022 02:19:08 +0900 Subject: [PATCH] net/http: fix typo in socks_bundle.go cancelation -> cancellation --- src/net/http/socks_bundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/http/socks_bundle.go b/src/net/http/socks_bundle.go index e4466695899..e6db1c7640f 100644 --- a/src/net/http/socks_bundle.go +++ b/src/net/http/socks_bundle.go @@ -453,7 +453,7 @@ func (up *socksUsernamePassword) Authenticate(ctx context.Context, rw io.ReadWri b = append(b, up.Username...) b = append(b, byte(len(up.Password))) b = append(b, up.Password...) - // TODO(mikio): handle IO deadlines and cancelation if + // TODO(mikio): handle IO deadlines and cancellation if // necessary if _, err := rw.Write(b); err != nil { return err