First buffer upload seem to ignore the send speed #5788
I did this
When uploading files to an SFTP server, I limited the
I also noticed something similar for download as well, if I set
I expected the following
I expect that even if the buffer size is larger than the max speed, the max speed would be upheld.
Windows 10 Enterprise
The text was updated successfully, but these errors were encountered:
Clearly, when libcurl's been instructed to do the transfer slower (in bytes/sec) than the size of the upload/download buffer, it should rather limit the amount data to handle to the capped amount in order to better acknowledge the setting in the first network read/write.
I think this is just an oversight as it only affects the first network operation and capping network speed has always been about being "roughly right over time", and not an exact science.
Are you interested in writing a patch for this?
I played around with it today, and as far as I can tell, CURL, calls
This seems to be supported when I run the curl binary "Current Speed" stay at 0, for a long time, the jumps up for some few seconds, then back to 0