-
Notifications
You must be signed in to change notification settings - Fork 18k
x/crypto/ssh: Session.Wait() hangs while reading from msg channel after sending EOF to os.Stdin #6088
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
Labels
Milestone
Comments
I've just hit this. Repro test case (add to session_test.go, along with import "os"): http://play.golang.org/p/ENRws4aHYV After the exec completes, Wait blocks until each stdio goroutine returns. The io.Copy from the pipe is blocking indefinitely. |
https://golang.org/cl/45200043/ (Is there a way to automatically link CLs to issues?) |
fixed in https://codereview.appspot.com/50380043 . this can be closed. @ianlancetaylor |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by mischief@offblast.org:
The text was updated successfully, but these errors were encountered: