1
0
mirror of https://github.com/golang/go synced 2024-11-12 10:30:23 -07:00

http: change localhost URL; maybe fix Windows

R=golang-dev, rsc, bradfitzwork
CC=golang-dev
https://golang.org/cl/4259048
This commit is contained in:
Brad Fitzpatrick 2011-03-03 13:29:31 -08:00
parent 61fd11ef96
commit 38a105e48a

View File

@ -353,7 +353,7 @@ func TestServerTimeouts(t *testing.T) {
// TestIdentityResponse verifies that a handler can unset
func TestIdentityResponse(t *testing.T) {
l, err := net.Listen("tcp", ":0")
l, err := net.Listen("tcp", "127.0.0.1:0")
if err != nil {
t.Fatalf("failed to listen on a port: %v", err)
}