Explorar o código

Return empty byte array when EOF status response is received.

drieseng %!s(int64=9) %!d(string=hai) anos
pai
achega
887926f172
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();
                         });