mirror of
https://github.com/curl/curl.git
synced 2026-05-04 07:17:51 +03:00
added note about WRITEFUNCTION now being called with zero bytes if the file
to be transfered is empty
This commit is contained in:
parent
b233c13dca
commit
dbacc81af7
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue