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
x/crypto/ssh: Session.Wait() hangs while reading from msg channel after sending EOF to os.Stdin #6088
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?) |
mikioh
changed the title
go.crypto/ssh: Session.Wait() hangs while reading from msg channel after sending EOF to os.Stdin
ssh: Session.Wait() hangs while reading from msg channel after sending EOF to os.Stdin
Jan 7, 2015
rsc
changed the title
ssh: Session.Wait() hangs while reading from msg channel after sending EOF to os.Stdin
x/crypto/ssh: Session.Wait() hangs while reading from msg channel after sending EOF to os.Stdin
Apr 14, 2015
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: