cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Mohammad_AlSaleh <ce.mohammad.alsaleh_at_gmail.com>
Date: Thu, 15 Jan 2015 18:28:43 +0200

On Wed, Jan 14, 2015 at 11:45:50PM +0100, Daniel Stenberg wrote:
> On Mon, 12 Jan 2015, Mohammad_AlSaleh wrote:
>
> >dltotal is not reset. And only updated when dlnow becomes non-zero.
>
> Thanks for the excellent recipe! I could repeated and I pushed a fix
> that at least makes the problem not happen to me anymore. It is now
> available as commit cc28bc472ec4.
> https://github.com/bagder/curl/commit/cc28bc472e
>

I confirm the bug is fixed.

Thank you.

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