开发者

SharpSSH shell thread dies on Read()

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜