SSH.NET icon indicating copy to clipboard operation
SSH.NET copied to clipboard

Software on Linux becomes blocked when the connection is lost during an upload

Open dj-Query opened this issue 1 year ago • 1 comments

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.

dj-Query avatar Feb 06 '24 14:02 dj-Query

This sounds like #957, although I wouldn't know why there is a difference between Windows and Linux.

Rob-Hague avatar Feb 06 '24 20:02 Rob-Hague