cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Sebastian Rasmussen <sebastian.rasmussen_at_axis.com>
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: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-05