cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 1st cb of XFERINFOFUNCTION has dltotal from previous perform!

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 12 Jan 2015 10:24:21 +0100 (CET)

On Mon, 12 Jan 2015, Mohammad_AlSaleh wrote:

> If I reuse a handle to do different transfers with different sizes. (Same
> URL, different ranges in my case). dltotal is not guaranteed to to be either
> the new transfer size or zero. In fact, the value seems to be left-over from
> the previous transfer before it's updated.
>
> Is this a bug? Or expected behavior.

Sounds like a bug to me. Can you help us reproduce the case?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-12