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] #1198 Fix wrong CURLINFO_CONTENT_LENGTH_DOWNLOAD result with redirect.

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sun, 31 Mar 2013 18:13:24 +0000

- **status**: open --> closed-works-for-me

---
** [bugs:#1198] Fix wrong CURLINFO_CONTENT_LENGTH_DOWNLOAD result with redirect.**
**Status:** closed-works-for-me
**Labels:** redirect content-length 
**Created:** Mon Feb 25, 2013 02:38 PM UTC by Ulion
**Last Updated:** Sun Mar 31, 2013 01:40 AM UTC
**Owner:** Daniel Stenberg
when the target file redirected to a result url which has no content-length, call getinfo for CURLINFO_CONTENT_LENGTH_DOWNLOAD will get the previous 302 page's body content-length, this PR fixed it: https://github.com/bagder/curl/pull/59
test link: http://mp3.live.tv-radio.com/francemusique/all/francemusiquehautdebit.mp3
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1198/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Received on 2013-03-31

These mail archives are generated by hypermail.

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

File upload with ASP.NET