]> Cypherpunks repositories - gostls13.git/commit
http: make Transport warning about connections closing more accurate
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 7 Dec 2011 00:38:02 +0000 (16:38 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 7 Dec 2011 00:38:02 +0000 (16:38 -0800)
commit130e2943a320f012757518787b0c9dbf182ecb3a
tree9dc7bd1c860acefb3c55e6013ea92e6310963720
parent554ac03637bd855179c93d76d05b9c847571d0e2
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
src/pkg/net/http/Makefile
src/pkg/net/http/transport.go
src/pkg/net/http/transport_windows.go [deleted file]