Commit dbacc81a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added note about WRITEFUNCTION now being called with zero bytes if the file

to be transfered is empty
parent b233c13d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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