1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:04:40 -07:00

net/http: fix typo in socks_bundle.go

cancelation -> cancellation
This commit is contained in:
Ikko Ashimine 2022-09-26 02:19:08 +09:00 committed by GitHub
parent a0441c7ae3
commit a4c881083a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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