cURL / Mailing Lists / curl-users / Single Mail


Re: FTP upload speed problem and buffer size

From: Dan Fandrich <>
Date: Fri, 12 Oct 2007 09:01:48 -0700

On Fri, Oct 12, 2007 at 10:54:42AM +0200, Daniel Stenberg wrote:
> I can't but to feel that it seems utterly silly that this layer of code
> would need to know about and adjust to the transfer layer's MTU etc. I mean,
> sure 1460 bytes is for the typical TCP over IPv4 ethernet, but the
> lib/transfer.c code really is completely unaware and non-caring about
> that...

It would be useful to test whether this is actually source of the speed
problem. A quick test might be to set the buffer size to exactly
1460*11 bytes instead of 16384 and see if that makes any difference.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-10-12