cURL / Mailing Lists / curl-library / Single Mail

curl-library

1st cb of XFERINFOFUNCTION has dltotal from previous perform!

From: Mohammad_AlSaleh <ce.mohammad.alsaleh_at_gmail.com>
Date: Mon, 12 Jan 2015 11:18:54 +0200

Hello.

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.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-12