Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Hanging indefinitely while trying to write to the stream

$
0
0
I didn't want to mess with the source code of the SSH library in case it caused some further error.

My stopgap solution was to encapsulate any call that might throw the exception that triggers the dispose inside it's own thread. If the thread doesn't complete within a specified time, I interrupt it. Less than ideal, but it works for the moment.

Viewing all articles
Browse latest Browse all 1729

Trending Articles