tomaswolf opened a new pull request, #734: URL: https://github.com/apache/mina-sshd/pull/734
Give the SftpInputStreamAsync a logical file size larger than the current position transfer is requested to start at. If the user calls transferTo(position, count, output), the logical file size for the SftpInputStreamAsync should be (position + count). It's no problem if that is larger than the real file size, it'll just produce an EOF return. Also guard against NPE in SftpInputStreamAsync in case the initial position is beyond the alleged file size. Fixes #733. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org