curl-library
Re: CURLE_WRITE_ERROR
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 29 Jan 2007 15:37:59 +0100 (CET)
Date: Mon, 29 Jan 2007 15:37:59 +0100 (CET)
On Mon, 29 Jan 2007, Shiou Ming, Lee wrote:
> curl_easy_perform() always returning CURLE_WRITE_ERROR although the callback
> function itself is empty and just returns a zero (I tried to make it returns
> 1 but result is the same).
... quote from the docs:
"Return the number 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 CURLE_WRITE_ERROR."
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-01-29