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: Ulion <ulion2002_at_users.sf.net>
Date: Mon, 25 Feb 2013 14:38:13 +0000

---
** [bugs:#1198] Fix wrong CURLINFO_CONTENT_LENGTH_DOWNLOAD result with redirect.**
**Status:** open
**Labels:** redirect content-length 
**Created:** Mon Feb 25, 2013 02:38 PM UTC by Ulion
**Last Updated:** Mon Feb 25, 2013 02:38 PM UTC
**Owner:** nobody
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/prefs/>
Received on 2013-02-25

These mail archives are generated by hypermail.

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

File upload with ASP.NET