cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sftp download error in 7.49.1

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Jul 2016 23:19:19 +0200 (CEST)

On Wed, 20 Jul 2016, Dan Donahue wrote:

> Downloading via sftp sees significant decrease in speed and eventually
> stalls without any indication of error or timeout. Download never resumes
> following the stall.
>
> The same result occurs using the curl command line tool.
>
> With 7.44.0 average sftp download speed is ~3MBs/sec. With 7.49.1 speed
> registers initially at ~100KB/sec and slowly increments to ~600KB/sec. With
> large files (256MB) the download stalls and does not recover. No SSH
> disconnects or errors are seen on the server (until my abort logic).

Strange! Any chance you can bisect down to a suspected commit that introduced
this behavior?

> Setting the FTP_RESPONSE_TIMEOUT option to 10 seconds (< progress timeout
> logic) does not cause a timeout.

That option is for FTP only and that is pretty clearly stated in the
documentation I think. SFTP is not FTP. The option is completely meaningless
for SFTP transfers.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-07-20