curl / Mailing Lists / curl-library / Single Mail


Re: Windows users! Help us test upload performance tuning?

From: Daniel Jeliński via curl-library <>
Date: Sat, 11 Aug 2018 00:23:58 +0200

pt., 10 sie 2018 o 23:08 Daniel Stenberg <> napisał(a):

> [...] libssh2 could offer a better API that's more suited to send (and receive) SFTP data.

I like that; if we had the sftp_write function acknowledge data as
soon as it is put in socket buffer, we could get much faster
transfers. In order to avoid errors we would need to wait for all
outstanding acks on file close.
We would lose the opportunity to retry errors without rewinding, but
according to [1] the only error we would want to retry is lost
connection, and other protocols already rewind in that case.
What do you think?


Received on 2018-08-11