|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3370895 ] curl will reuse old Content-Length if none received
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 18 Jul 2011 23:45:03 -0500
Bugs item #3370895, was opened at 2011-07-18 23:45
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
When an easy handle is used to download an URI which has no Content-Length header (or equivalent) after downloading an URI which does, the value from the previous transfer is reused and returned by CURLINFO_CONTENT_LENGTH_DOWNLOAD. This is because the progress flags (used to determine whether such a header was received) are not reset between transfers. The quick fix I used is attached.
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info