aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-23 14:41:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-23 14:41:54 +0000
commitdbacc81af747f68e07b30b77b2c30161cefef08d (patch)
tree2e3cb8d4b33932237b0d1935134eb26db9962aae
parentb233c13dca62fccb6223f249448f2e4c67acaa91 (diff)
added note about WRITEFUNCTION now being called with zero bytes if the file
to be transfered is empty
-rw-r--r--docs/libcurl/curl_easy_setopt.33
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 6c1eea2f1..165397641 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -93,6 +93,9 @@ of bytes actually taken care of. If that amount differs from the amount passed
to your function, it'll signal an error to the library and it will abort the
transfer and return \fICURLE_WRITE_ERROR\fP.
+This function may be called with zero bytes data if the transfered file is
+empty.
+
Set the \fIstream\fP argument with the \fICURLOPT_WRITEDATA\fP option.
\fBNOTE:\fP you will be passed as much data as possible in all invokes, but