Descriptionexp/ssh: simplify Stdin/out/errPipe methods
If a Pipe method is called, return the underlying
reader/writer from session.clientChan, bypassing the
io.Copy and io.Pipe harness.
StdoutPipe and StderrPipe now return an io.Reader not
an io.ReadCloser as SSH cannot signal the close of the
local reader to the remote process.
Patch Set 1 #Patch Set 2 : diff -r f624d7f32d22 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r f624d7f32d22 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r f624d7f32d22 https://go.googlecode.com/hg/ #
Total comments: 1
MessagesTotal messages: 4
|