浏览代码

Return empty byte array when EOF status response is received.

drieseng 9 年之前
父节点
当前提交
887926f172
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Renci.SshNet/Sftp/SftpSession.cs

+ 1 - 0
src/Renci.SshNet/Sftp/SftpSession.cs

@@ -344,6 +344,7 @@ namespace Renci.SshNet.Sftp
                             {
                                 exception = GetSftpException(response);
                             }
+                            data = Array<byte>.Empty;
                             wait.Set();
                         });