diff options
author | Rob Pike <r@golang.org> | 2009-02-15 19:58:00 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-02-15 19:58:00 -0800 |
commit | c9eec80905e1fc250a11c1dc90dd6af546c39822 (patch) | |
tree | a1d86c379af2590b4e067b3d91ae20b9dcbb4e7a /src/lib/net/dialgoogle_test.go | |
parent | 6c76acf88cb2c97bf60c34caa01e868f61bad436 (diff) | |
download | golang-c9eec80905e1fc250a11c1dc90dd6af546c39822.tar.gz |
change the URL in the test to avoid a redirection that breaks it in sydney.
R=rsc
OCL=25054
CL=25054
Diffstat (limited to 'src/lib/net/dialgoogle_test.go')
-rw-r--r-- | src/lib/net/dialgoogle_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/net/dialgoogle_test.go b/src/lib/net/dialgoogle_test.go index 0bf3eae9a..248b90de9 100644 --- a/src/lib/net/dialgoogle_test.go +++ b/src/lib/net/dialgoogle_test.go @@ -15,10 +15,10 @@ import ( // If an IPv6 tunnel is running (see go/stubl), we can try dialing a real IPv6 address. var ipv6 = flag.Bool("ipv6", false, "assume ipv6 tunnel is present") -// fd is already connected to www.google.com port 80. -// Run an HTTP request to fetch the main page. +// fd is already connected to the destination, port 80. +// Run an HTTP request to fetch the appropriate page. func fetchGoogle(t *testing.T, fd net.Conn, network, addr string) { - req := io.StringBytes("GET / HTTP/1.0\r\nHost: www.google.com\r\n\r\n"); + req := io.StringBytes("GET /intl/en/privacy.html HTTP/1.0\r\nHost: www.google.com\r\n\r\n"); n, errno := fd.Write(req); buf := make([]byte, 1000); |