ssh reverse tunnel accept on Listener, read this channel is OK. but the read function on this channel will block within another thread . for created new stream by using Stream method on this channel, even read in same thread , read function blocks. since reverse tunnel cannot read eof within one read function, we need to start new thread to read. but it's not work , create new stream even worse.
ssh reverse tunnel accept on Listener, read this channel is OK. but the read function on this channel will block within another thread . for created new stream by using Stream method on this channel, even read in same thread , read function blocks. since reverse tunnel cannot read eof within one read function, we need to start new thread to read. but it's not work , create new stream even worse.
version 0.9.1 ; rust 1.51; os : Windows 7