cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3510057 ] Curl_follow should reset progress' size_dl

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 22 Mar 2012 15:26:21 -0700

Bugs item #3510057, was opened at 2012-03-22 05:01
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3510057&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Wallner (mike-php-net)
Assigned to: Daniel Stenberg (bagder)
Summary: Curl_follow should reset progress' size_dl

Initial Comment:
Curl_follow does reset progress times on transfer.c:1927, but not the progress' sizes, so when a redirect occurs and the size_dl of the new URL is not known, the progress callback will receive the previous transfer's size_dl as dltotal.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2012-03-22 15:26

Message:
Ah. Any chance you can help us produce a recipe/test case that shows this
happening?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3510057&group_id=976
Received on 2012-03-22

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET