curl-library
Re: Slow Upload Performance on High-Bandwidth connections on windows
Date: Tue, 5 Feb 2013 16:50:39 +0100
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.htmlReceived on 2013-02-05