mirror of
https://github.com/golang/go
synced 2024-11-22 20:14:40 -07:00
all: fix spelling
Change-Id: Id991d8e81e04835cabfb02d07a2199bfb553726c
GitHub-Last-Rev: 5d0b55d491
GitHub-Pull-Request: golang/go#44802
Reviewed-on: https://go-review.googlesource.com/c/go/+/299069
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Heschi Kreinick <heschi@google.com>
This commit is contained in:
parent
b4833f7c06
commit
3a0453514a
@ -1209,7 +1209,7 @@ func TestReverseProxyWebSocket(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestReverseProxyWebSocketCancelation(t *testing.T) {
|
||||
func TestReverseProxyWebSocketCancellation(t *testing.T) {
|
||||
n := 5
|
||||
triggerCancelCh := make(chan bool, n)
|
||||
nthResponse := func(i int) string {
|
||||
|
@ -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