mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-03-24 20:40:09 +09:00
Following changes have been made : 1. The benchmark now expects sftp_aio_begin_read() to return an ssize_t indicating an error (or) the number of bytes for which it sent a read request. 2. If the user sets a chunk size > max limit for the reading via CLI, the benchmark does not use the set chunk size and instead uses the max limit for reading as the chunk size for download. 3. fprintf calls have been introduced to print the reason for the failure if the benchmark fails. Signed-off-by: Eshan Kelkar <eshankelkar@galorithm.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>