aboutsummaryrefslogtreecommitdiff
path: root/lib/mprintf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-04-02 11:22:41 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-04-02 11:31:05 +0200
commit43e045fc3e8430b2d2f3a1fc1354f3ecd54b09ab (patch)
treedac1f7c682423cdc1be5ad9f2a3e4201c874dc73 /lib/mprintf.c
parent74467f8e7837f8a58ce08725efc391b189f37466 (diff)
SO_SNDBUF: don't set SNDBUF for win32 versions vista or later
The Microsoft knowledge-base article http://support.microsoft.com/kb/823764 describes how to use SNDBUF to overcome a performance shortcoming in winsock, but it doesn't apply to Windows Vista and later versions. If the described SNDBUF magic is applied when running on those more recent Windows versions, it seems to instead have the reversed effect in many cases and thus make libcurl perform less good on those systems. This fix thus adds a run-time version-check that does the SNDBUF magic conditionally depending if it is deemed necessary or not. Bug: http://curl.haxx.se/bug/view.cgi?id=1188 Reported by: Andrew Kurushin Tested by: Christian Hägele
Diffstat (limited to 'lib/mprintf.c')
0 files changed, 0 insertions, 0 deletions