Menu

#1198 Fix wrong CURLINFO_CONTENT_LENGTH_DOWNLOAD result with redirect.

closed-works-for-me
5
2013-06-21
2013-02-25
Ulion
No

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

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2013-03-30
    • assigned_to: Daniel Stenberg
    • milestone: -->
     
  • Ulion

    Ulion - 2013-03-31

    it's a fixed bug: http://sourceforge.net/p/curl/bugs/1102/
    sorry for bother.

     
  • Daniel Stenberg

    Daniel Stenberg - 2013-03-31

    No worries, I'm just glad it works now! Closing this issue.

     
  • Daniel Stenberg

    Daniel Stenberg - 2013-03-31
    • status: open --> closed-works-for-me
     
MongoDB Logo MongoDB