diff options
| author | Ian Lance Taylor <iant@golang.org> | 2018-01-03 10:09:35 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-01-03 19:30:48 +0000 |
| commit | 36454187dbd9d543c4ff2f4c9c41e513fcae54ab (patch) | |
| tree | 2d4c6492d6e7437c4381a8b3b076c5adcf373878 /src/testing/testing.go | |
| parent | ce94c0a79170a174096de902ee93ad38e6c75d6f (diff) | |
| download | go-36454187dbd9d543c4ff2f4c9c41e513fcae54ab.tar.xz | |
net: report connect error as coming from "connect"
We retrieve an error using getsockopt with SO_ERROR. We were reporting
the error as coming from "getsockopt", but really it is coming from
"connect". It is not getsockopt that failed.
Fixes #19302
Change-Id: I510ab76e4b04c70cd9dfdfc46d9a410bf653d017
Reviewed-on: https://go-review.googlesource.com/85997
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/testing/testing.go')
0 files changed, 0 insertions, 0 deletions
