]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix comment in connectMethod's key format
authorAnfernee Yongkun Gui <anfernee.gui@gmail.com>
Mon, 24 Feb 2014 05:18:41 +0000 (21:18 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 24 Feb 2014 05:18:41 +0000 (21:18 -0800)
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/66990045

src/pkg/net/http/transport.go

index 2c312a77a02e1418f6f0d335cf62ee6a56b063b0..5655d704f781f80d69fbf857ae14ce63a1cb47bf 100644 (file)
@@ -615,8 +615,8 @@ func useProxy(addr string) bool {
 //
 // Cache key form                Description
 // -----------------             -------------------------
-// ||http|foo.com                http directly to server, no proxy
-// ||https|foo.com               https directly to server, no proxy
+// |http|foo.com                 http directly to server, no proxy
+// |https|foo.com                https directly to server, no proxy
 // http://proxy.com|https|foo.com  http to proxy, then CONNECT to foo.com
 // http://proxy.com|http           http to proxy, http to anywhere after that
 //