cURL / Mailing Lists / curl-library / Single Mail


Re: CURLOPT_HEADERFUNCTION documentation and examples patches, now with actual patches!

From: Nikolai Kondrashov <>
Date: Sat, 24 May 2008 15:04:29 +0400

Daniel Stenberg wrote:
The return code (for both read and write callbacks) should
> be the amount of data they have taken care of, which is exactly what
> read() and fwrite() etc typically already return.
Yes, read returns amount of bytes, but not so for fread/fwrite.

Received on 2008-05-24