cURL / Mailing Lists / curl-library / Single Mail

curl-library

Patch to not shrink SO_SNDBUF on Windows

From: Constantine Sapuntzakis <csapuntz_at_gmail.com>
Date: Wed, 30 Sep 2009 19:00:23 -0700

The current implementation will always set SO_SNDBUF to
CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger.
The patch doesn't do a setsockopt if SO_SNDBUF is already greater than
CURL_WRITE_SIZE.

This should help folks who have set up their computer with large send buffers.

-Costa

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

Received on 2009-10-01