mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-26 05:59:37 +00:00
5ef2f6ce69
When the channel was closed before all of the file content announced in a C record had been received, PipeStream.Read kept returning 0 and the copy loop spun forever. Throw an SshException in this case, matching ReadByte.