cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl don't write data directly (internal buffering?)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 28 Sep 2012 22:41:06 +0200 (CEST)

On Thu, 27 Sep 2012, Eric Beuque wrote:

> The problem is that the write callback is not called as soon as the data
> are received. I saw that sometime around 7 frames can be cached before i i
> got the first write function call.

How exactly do you see this? And by "write function call", you mean a call to
the write callback I presume?

What libcurl version on what OS?

> Why libcurl is caching some data?

It doesn't. There's no such data cache or buffering going on, hence my
questions above...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-28