Mailing Lists
|
|
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: Sat, 30 Mar 2013 20:43:23 +0000
I can't repeat this problem with the test case as attached.
Attachment: 0001-test1134-verify-w-content_length_download-after-redi.patch (6.6 kB; text/x-patch)
--- ** [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/subscriptions/>Received on 2013-03-30 These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info