cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Write call back not called for zero length files (curl version 7.24)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 27 Feb 2012 15:55:19 +0100 (CET)

On Sun, 26 Feb 2012, sandeep a wrote:

> I am using libcurl version 7.24. I am trying to download a file of size 0. I
> see in curl documentation that write callback can be called with size as 0,
> if file is empty. (snippet from curl documentation pasted as below).

This is KNOWN_BUG #78. I'll welcome patches (and tests) that improve the
situation!

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