Re: Bug in curl 7.19 for CURLINFO_CONTENT_LENGTH_DOWNLOAD?
Date: Sun, 25 Oct 2009 19:54:18 +0100 (CET)
On Wed, 21 Oct 2009, Gabriel Kuri wrote:
> Previously, this code simply returned data->progress.size_dl. Now, if the
> PGRS_DL_SIZE_KNOWN bit is not set, it returns -1 instead. As the FUSE driver
> driver casts the returned value into an unsigned variable, the result ends
> up becoming MAXINT.
Thanks for the report.
Can you provide a recipe for how to (easily) repeat this bug/problem so that
we can write up a test case for it?
Does the attached patch fix the problem for you?
-- / daniel.haxx.se
- TEXT/x-diff attachment: known-size.patch