Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: error on closed connection write doesn't contain address information #7721

Closed
mikioh opened this issue Apr 7, 2014 · 4 comments
Closed
Milestone

Comments

@mikioh
Copy link
Contributor

mikioh commented Apr 7, 2014

Sigh, for example,

=== RUN TestConnectionlessWriteClosedError
--- PASS: TestConnectionlessWriteClosedError (0.00 seconds)
    write_test.go:134: use of closed network connection
    write_test.go:134: use of closed network connection
    write_test.go:134: use of closed network connection
    write_test.go:134: use of closed network connection
    write_test.go:134: use of closed network connection
    write_test.go:134: use of closed network connection

instead of

=== RUN TestConnectionlessWriteClosedError
--- PASS: TestConnectionlessWriteClosedError (0.00 seconds)
    write_test.go:134: udp4 127.0.0.1:41400: use of closed network connection
    write_test.go:134: udp4 127.0.0.1:41400: use of closed network connection
    write_test.go:134: udp6 [::1]:57416: use of closed network connection
    write_test.go:134: udp6 [::1]:57416: use of closed network connection
    write_test.go:134: unixgram /tmp/nettest869396226: use of closed network connection
    write_test.go:134: unixgram /tmp/nettest869396226: use of closed network connection

The root cause is issue #4856.
@mikioh
Copy link
Contributor Author

mikioh commented Apr 8, 2014

Comment 1:

Status changed to New.

@gopherbot
Copy link

Comment 2:

CL https://golang.org/cl/85630044 mentions this issue.

@mikioh
Copy link
Contributor Author

mikioh commented May 2, 2014

Comment 3:

Labels changed: added release-go1.4, removed release-go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Sep 16, 2014

Comment 4:

Status changed to Duplicate.

Merged into issue #4856.

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015
@rsc rsc removed the release-go1.4 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants