SSH.NET
SSH.NET copied to clipboard
Software on Linux becomes blocked when the connection is lost during an upload
Hi all, I'm having an issue when uploading a large file and the connection is lost. On the O.S. Windows my software throws an exception as I expect, but this behavior does not occur on O.S Linux. Using the logs, I can see that after using UploadFile everything freezes and no matter how I try to throw an exception, it does not happen. I have tried using the OperationalTimeout and the BeginUploadFile. The BeginUploadFile function seems to work, but the moment I use the EndUploadFile function everything freezes. The OperationalTimeout does not work. I hope you can help me solve the situation.
Regards.
This sounds like #957, although I wouldn't know why there is a difference between Windows and Linux.