diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2010-02-10 21:17:53 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2010-02-10 21:17:53 +0000 |
commit | 99f366adf92e940ea8178da35c4189f5206bd716 (patch) | |
tree | 53667f48254d3f9af17b5d9f974d3244c65207a3 | |
parent | d20a2469eab1d708192be6cac3e70f7e8d52d9cf (diff) |
Mention the minimum size of CURL_MAX_WRITE_SIZE
-rw-r--r-- | include/curl/curl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 3f5c49a27..155913af4 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -177,7 +177,9 @@ typedef int (*curl_progress_callback)(void *clientp, /* Tests have proven that 20K is a very bad buffer size for uploads on Windows, while 16K for some odd reason performed a lot better. We do the ifndef check to allow this value to easier be changed at build - time for those who feel adventurous. */ + time for those who feel adventurous. The practical minimum is about + 400 bytes since libcurl uses a buffer of this size as a scratch area + (unrelated to network send operations). */ #define CURL_MAX_WRITE_SIZE 16384 #endif |