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: Dialer.Cancel is able to cancel write on the established connection. #15078

Closed
mikioh opened this issue Apr 3, 2016 · 1 comment
Closed
Milestone

Comments

@mikioh
Copy link
Contributor

mikioh commented Apr 3, 2016

As mentioned in #15035, Dialer.Cancel, which is introduced in Go 1.6, can cancel any write operation on the established connection by closing the Dialer.Cancel channel. I don't believe that's intentional behavior. Dialer.Cancel must be applied to just the dial operation and must not carry any control knob to the following read/write operations.

@mikioh mikioh added this to the Go1.7 milestone Apr 3, 2016
@gopherbot
Copy link
Contributor

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

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

2 participants