开发者

SharpSSH shell thread dies on Read()

开发者 https://www.devze.com 2023-02-13 11:18 出处:网络
I\'m attempted to use SharpSSH\'s SSHShell class, but the thread dies somewhere in the stream on a read when the buffer is empty. Looks like they use PipeInputStream for the stream.

I'm attempted to use SharpSSH's SSHShell class, but the thread dies somewhere in the stream on a read when the buffer is empty. Looks like they use PipeInputStream for the stream.

I'm calling the read and write from same thread. That might be the problem. I'm wondering if there is an easy remedy that someone knows about for this issue. I'm limited by existing framework we have i开发者_如何学Gon creating new threads on each side. Everything works perfect until the last read on the empty buffer.

Thanks

Dean

0

精彩评论

暂无评论...
验证码 换一张
取 消