aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@gmail.com>2021-05-07 10:47:28 +0000
committerIan Lance Taylor <iant@golang.org>2021-05-14 00:56:24 +0000
commit3a0453514a80b001e6135f98ec4e0da5a78ab267 (patch)
tree27bc7ee68b6ff8024419e3ac79482bde74b5c6db /src/net
parentb4833f7c06c332ad2ef30666144a20fb7838aba1 (diff)
downloadgo-3a0453514a80b001e6135f98ec4e0da5a78ab267.tar.gz
go-3a0453514a80b001e6135f98ec4e0da5a78ab267.zip
all: fix spelling
Change-Id: Id991d8e81e04835cabfb02d07a2199bfb553726c GitHub-Last-Rev: 5d0b55d49127a2e2ba3148d20a58c52debcae12b 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>
Diffstat (limited to 'src/net')
-rw-r--r--src/net/http/httputil/reverseproxy_test.go2
-rw-r--r--src/net/http/socks_bundle.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/http/httputil/reverseproxy_test.go b/src/net/http/httputil/reverseproxy_test.go
index b89eb90ad6..22720caf93 100644
--- a/src/net/http/httputil/reverseproxy_test.go
+++ b/src/net/http/httputil/reverseproxy_test.go
@@ -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 {
diff --git a/src/net/http/socks_bundle.go b/src/net/http/socks_bundle.go
index e446669589..e6db1c7640 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