diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-08-23 14:41:54 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-08-23 14:41:54 +0000 |
commit | dbacc81af747f68e07b30b77b2c30161cefef08d (patch) | |
tree | 2e3cb8d4b33932237b0d1935134eb26db9962aae /docs | |
parent | b233c13dca62fccb6223f249448f2e4c67acaa91 (diff) |
added note about WRITEFUNCTION now being called with zero bytes if the file
to be transfered is empty
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 3 |
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 |