Closed
Description
What steps will reproduce the problem? If possible, include a link to a program on play.golang.org. 1. Use http.Get() to connect to a site which closes keep-alives 2. Read from response What is the expected output? Contents of page. What do you see instead? error: use of closed network connection Which compiler are you using (5g, 6g, 8g, gccgo)? 8g Which operating system are you using? Darwin x86-32 Which version are you using? (run 'go version') go version weekly.2012-03-27 +85e153815747 (tip) Please provide any additional information below. The issue doesn't happen in go1.0.1, and seems to be the result of http://golang.org/cl/6201044 made to fix issue #1967.
Attachments:
- foo.go (726 bytes)