- Patrik Thunstrom reported a problem and helped me repeat it. It turned out
libcurl did a superfluous 1000ms wait when doing SFTP downloads! We read data with libssh2 while doing the "DO" operation for SFTP and then when we were about to start getting data for the actual file part, the "TRANSFER" part, we waited for socket action (in 1000ms) before doing a libssh2-read. But in this case libssh2 had already read and buffered the data so we ended up always just waiting 1000ms before we get working on the data!
This commit is contained in:
@@ -35,6 +35,7 @@ This release includes the following bugfixes:
|
||||
CURLOPT_NOBODY set true
|
||||
o memory leak on some libz errors for content encodings
|
||||
o NSS-enabled build is repaired
|
||||
o superfluous wait in SFTP downloads removed
|
||||
|
||||
This release includes the following known bugs:
|
||||
|
||||
@@ -46,6 +47,6 @@ advice from friends like these:
|
||||
Lisa Xu, Daniel Fandrich, Craig A West, Alexey Borzov, Sharad Gupta,
|
||||
Peter Sylvester, Chad Monroe, Markus Moeller, Yang Tse, Scott Cantor,
|
||||
Patrick Scott, Hidemoto Nakada, Jocelyn Jaubert, Andre Guibert de Bruet,
|
||||
Kamil Dudka
|
||||
Kamil Dudka, Patrik Thunstrom
|
||||
|
||||
Thanks! (and sorry if I forgot to mention someone)
|
||||
|
||||
Reference in New Issue
Block a user