cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Pierre Joye <pierre.php_at_gmail.com>
Date: Tue, 5 Feb 2013 10:49:13 +0100

hi Daniel,

On Mon, Feb 4, 2013 at 2:09 PM, Daniel Stenberg <daniel_at_haxx.se> 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).

Cheers,

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