cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Slow Upload Performance on High-Bandwidth connections on windows

From: <ajax16384_at_gmail.com>
Date: Tue, 5 Feb 2013 20:56:13 +0400

Hello

According to my investigation at http://sourceforge.net/p/curl/bugs/1188/#ca3a skipping of SO_SNDBUF adjustment does not solve low performance.

Thanks
Andrei

05.02.2013, 19:50, Pierre Joye <pierre.php_at_gmail.com> ():

> hi!
>
> On Tue, Feb 5, 2013 at 11:05 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>> On Tue, 5 Feb 2013, Pierre Joye wrote:
>>
>>>> But yes, it needs improvements here. I can't think of any better way to
>>>> solve this than to detect OS level at run-time and only SNDBUF if <= windows
>>>> 2008, so that Vista and later won't get it changed.
>>>
>>>
>>> It is possible to detect at runtime the OS version and set the right set
>>> of options. I do that in PHP as well for some features supporte only in
>>> "recent" windows version.
>>>
>>> Would it be something acceptable in curl? Only the 1st call would be
>>> slower (fetching the OS info).
>>
>>
>> Yes I think we need to do something like that!
>
> ok, will write a patch tonight, but won't have time to test the socket
> part, sadly.
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-05