Explorar el Código

Return empty byte array when EOF status response is received.

drieseng hace 9 años
padre
commit
887926f172
Se han modificado 1 ficheros con 1 adiciones y 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();
                         });