cURL / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg <>
Date: Sun, 7 Oct 2012 22:41:06 +0200 (CEST)

On Fri, 5 Oct 2012, Sebastian Rasmussen wrote:

>> I personally rather lean on simply changing the output to unbuffered
>> unconditionally and always and instead rather have us rely on the file
>> system layer doing the right thing. That would be completely backwards
>> compatible too!
> Alright, how about something along the lines of the attached?
> Basically I'm adding a CURLOPT_UNBUFFERED_WRITES

I meant completely without any new setopt. Just modify the code to use
unbuffered write() functions instead of fwrite()!

List admin:
Received on 2012-10-07