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

Comments

Projects
None yet
3 participants
@mikioh
Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor Author

commented Apr 8, 2014

Comment 1:

Status changed to New.

@gopherbot

This comment has been minimized.

Copy link

commented Apr 10, 2014

Comment 2:

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

This comment has been minimized.

Copy link
Contributor Author

commented May 2, 2014

Comment 3:

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

@rsc

This comment has been minimized.

Copy link
Contributor

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.
You can’t perform that action at this time.