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!

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to