cURL / Mailing Lists / curl-library / Single Mail


Re: fflush()ing libcurl's FILE* for the file:// protocol...

From: Sebastian Rasmussen <>
Date: Fri, 05 Oct 2012 10:11:10 +0200

> I think a much more straightforward approach would be simply to have a
> CURLOPT that sets unbuffered mode for the FILE object (i.e. calls
> setbuf() with no buffer given).

That works well too of course, how about making it possible to set the
buffer size in bytes and having 0 represent unbuffered..? Or you think
this is overkill?

  / Sebastian
List admin:
Received on 2012-10-05