commit | 130e2943a320f012757518787b0c9dbf182ecb3a | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Tue Dec 06 16:38:02 2011 -0800 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Tue Dec 06 16:38:02 2011 -0800 |
tree | 9dc7bd1c860acefb3c55e6013ea92e6310963720 | |
parent | 554ac03637bd855179c93d76d05b9c847571d0e2 [diff] |
http: make Transport warning about connections closing more accurate It was fragile and non-portable, and then became spammy with the os.EINVAL removal. Now it just uses the length of the Peek return value instead. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5453065