mirror of
https://github.com/golang/go
synced 2024-11-22 04:14:42 -07:00
net/http: fix typo in socks_bundle.go
cancelation -> cancellation
This commit is contained in:
parent
a0441c7ae3
commit
a4c881083a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user