curl / Mailing Lists / curl-library / Single Mail


Re: upload speed is too slow in windows

From: Ray Satiro via curl-library <>
Date: Thu, 4 Jan 2018 21:55:55 -0500

On 1/4/2018 8:13 PM, tanjj1990 wrote:
> Sorry, I've upload my tests as attachments.

Please don't top post it makes the conversation hard to follow [1].

I've reviewed the test results and they show the same thing as what you
initially reported, except that the proxy tests w/ PostUpload do not
have a consistent value at 28,27,13,13 and 7 seconds. Probably there was
some congestion at that time, but that doesn't explain the overall
results which seem to be otherwise consistent.

You could try adjusting the socket send buffer size. Normally libcurl
skips adjusting it in Windows Vista and higher [2], but I would like to
see if there's a difference if you increase it. Can you try 16k, 32k,
and 64k? I have attached a patch that sets it to 64k.



Received on 2018-01-05